Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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

From PCGamingWiki, the wiki about fixing PC games
m (handle not defined/empty situations by, well, not defining the variable)
(Added /critic-reviews/?platform=pc to Metacritic links at Macgovern's suggestion)
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
<td class="template-infobox-info"><!--
 
<td class="template-infobox-info"><!--
 
-->{{#switch: {{lc: {{{1|}}} }}
 
-->{{#switch: {{lc: {{{1|}}} }}
|metacritic = [https://www.metacritic.com/game/pc/{{Trim|1={{{2}}}}} {{{3}}}]
+
|metacritic = [https://www.metacritic.com/game/{{Trim|1={{{2}}}}}/critic-reviews/?platform=pc {{{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}}}]
 
|igdb      = [https://www.igdb.com/games/{{Trim|1={{{2}}}}} {{{3}}}]
Line 15: Line 15:
 
}}</td>
 
}}</td>
 
</tr>
 
</tr>
}}{{#ifeq:{{lc: {{{1|}}} }}|igdb|{{#if:{{{2|}}}|{{#vardefine: igdb | {{Trim|1={{{2}}}}} }}}}}}</includeonly>
+
}}{{#ifeq:{{lc: {{{1|}}} }}|igdb|{{#if:{{{2|}}}|{{#ifeq:{{{2|}}}|link||{{#vardefine: igdb | {{Trim|1={{{2}}}}} }}}}}}}}</includeonly>

Latest revision as of 15:22, 15 September 2023