Difference between revisions of "Template:Infobox game/row/reception"
From PCGamingWiki, the wiki about fixing PC games
m (added missing </td>) |
Baronsmoki (talk | contribs) (Added /critic-reviews/?platform=pc to Metacritic links at Macgovern's suggestion) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> <tr> | + | <includeonly>{{#if: {{#ifeq:{{{3|}}}|rating||{{{3|}}}}} | <tr> |
<td class="template-infobox-type"><!-- | <td class="template-infobox-type"><!-- | ||
-->{{#switch: {{lc: {{{1|}}} }} | -->{{#switch: {{lc: {{{1|}}} }} | ||
Line 9: | Line 9: | ||
<td class="template-infobox-info"><!-- | <td class="template-infobox-info"><!-- | ||
-->{{#switch: {{lc: {{{1|}}} }} | -->{{#switch: {{lc: {{{1|}}} }} | ||
− | |metacritic = | + | |metacritic = [https://www.metacritic.com/game/{{Trim|1={{{2}}}}}/critic-reviews/?platform=pc {{{3}}}] |
− | |opencritic = [https://opencritic.com/game/{{{2}}} {{{3}}}] | + | |opencritic = [https://opencritic.com/game/{{Trim|1={{{2}}}}} {{{3}}}] |
− | |igdb = [https://www.igdb.com/games/{{{2}}} {{{3}}}] | + | |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> |