Difference between revisions of "Template:Infobox game/row/reception"

From PCGamingWiki, the wiki about fixing PC games
m (added rating exclusion (hopefully))
m (Prevent "link" from being set as the IGDB link)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|metacritic =  [https://www.metacritic.com/game/pc/{{Trim|1={{{2}}}}} {{{3}}}]
 
|metacritic =  [https://www.metacritic.com/game/pc/{{Trim|1={{{2}}}}} {{{3}}}]
 
|opencritic = [https://opencritic.com/game/{{Trim|1={{{2}}}}} {{{3}}}]
 
|opencritic = [https://opencritic.com/game/{{Trim|1={{{2}}}}} {{{3}}}]
|igdb      = [https://www.igdb.com/games/{{Trim|1={{{2}}}}} {{{3}}}]{{#vardefine: igdb | {{Trim|1={{{2}}}}} }}
+
|igdb      = [https://www.igdb.com/games/{{Trim|1={{{2}}}}} {{{3}}}]
 
|#default  = This value is not permitted. [[Category:Invalid template usage (infobox game)]]
 
|#default  = This value is not permitted. [[Category:Invalid template usage (infobox game)]]
 
}}</td>
 
}}</td>
 
</tr>
 
</tr>
}}</includeonly>
+
}}{{#ifeq:{{lc: {{{1|}}} }}|igdb|{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|link||{{#vardefine: igdb | {{Trim|1={{{2}}}}} }}}}}}}}</includeonly>

Latest revision as of 21:41, 30 June 2021