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

From PCGamingWiki, the wiki about fixing PC games
m (added rating exclusion (hopefully))
m (allow the igdb variable to be set even if a rating is missing from the row itself)
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|{{#vardefine: igdb | {{Trim|1={{{2}}}}} }}}}</includeonly>

Revision as of 14:26, 30 June 2021