Difference between revisions of "User:Aemony/Sandbox/Infobox game"
From PCGamingWiki, the wiki about fixing PC games
< User:Aemony | Sandbox
m (t) |
m (d) |
||
Line 50: | Line 50: | ||
</tr> | </tr> | ||
{{#if: {{{metacritic|}}}| | {{#if: {{{metacritic|}}}| | ||
− | <td class="template-infobox-type">Metacritic</td> | + | <tr> |
− | + | <td class="template-infobox-type">Metacritic</td> | |
+ | <td class="template-infobox-info">{{#if: {{{metacritic score|}}} | [https://www.metacritic.com/game/pc/{{{metacritic}}} {{{metacritic score}}}] | [[Category:Invalid template usage (infobox game)]]<div title="Error: 'metacritic score' is undefined" class="svg-icon svg-25 tickcross-error"></div> }}</td> | ||
+ | </tr> | ||
}} | }} | ||
{{#if: {{{opencritic|}}}| | {{#if: {{{opencritic|}}}| | ||
− | <td class="template-infobox-type">Opencritic</td> | + | <tr> |
− | + | <td class="template-infobox-type">Opencritic</td> | |
+ | <td class="template-infobox-info">{{#if: {{{opencritic score|}}} | [https://opencritic.com/game/{{{opencritic}}} {{{opencritic score}}}] | [[Category:Invalid template usage (infobox game)]]<div title="Error: 'opencritic score' is undefined" class="svg-icon svg-25 tickcross-error"></div> }}</td> | ||
+ | </tr> | ||
}} | }} | ||
{{#if: {{{igdb|}}}| | {{#if: {{{igdb|}}}| | ||
− | <td class="template-infobox-type">IGDB</td> | + | <tr> |
− | + | <td class="template-infobox-type">IGDB</td> | |
+ | <td class="template-infobox-info">{{#if: {{{metacritic score|}}} | [https://www.igdb.com/games/{{{igdb}}} {{{igdb score}}}] | [[Category:Invalid template usage (infobox game)]]<div title="Error: 'igdb score' is undefined" class="svg-icon svg-25 tickcross-error"></div> }}</td> | ||
+ | </tr> | ||
}} | }} | ||
}}<!-- | }}<!-- |
Revision as of 22:43, 1 April 2020
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).
Visit User:Aemony/Sandbox/Infobox game/Documentation to edit this text. (How does this work?)