Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(1:1 with live) |
|||
Line 59: | Line 59: | ||
-->}}<!-- | -->}}<!-- | ||
Icons --><!-- | Icons --><!-- | ||
− | + | storing digital state -->{{#vardefine:available digitally|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}}|fields=Available_digitally|no html|default=}}}}{{#if: {{{wikipedia|}}}{{{gogcom id|}}}{{{steam appid|}}}{{{winehq|}}}{{{strategywiki|}}}{{{mobygames|}}}{{{igdb|}}}{{{official site|}}}| | |
− | storing digital state -->{{#vardefine:available digitally|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}}|fields=Available_digitally|no html|default=}}}}{{#if: {{{wikipedia|}}}{{{gogcom id|}}}{{{steam appid|}}}{{{winehq|}}}{{{strategywiki|}}}{{{mobygames|}}}{{{igdb|} | ||
<tr> | <tr> | ||
<td class="template-infobox-icons" colspan="2"><!-- | <td class="template-infobox-icons" colspan="2"><!-- | ||
Line 78: | Line 77: | ||
-->{{#if: {{{mobygames|}}} | <div title="{{PAGENAME}} on MobyGames" class="template-infobox-icon svg-icon infobox-mobygames">[[File:Icon overlay.png|link=https://www.mobygames.com/game/{{{mobygames}}}|{{PAGENAME}} on MobyGames]]</div>}}<!-- | -->{{#if: {{{mobygames|}}} | <div title="{{PAGENAME}} on MobyGames" class="template-infobox-icon svg-icon infobox-mobygames">[[File:Icon overlay.png|link=https://www.mobygames.com/game/{{{mobygames}}}|{{PAGENAME}} on MobyGames]]</div>}}<!-- | ||
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} on Wikipedia" class="template-infobox-icon svg-icon infobox-wikipedia">[[File:Icon overlay.png|link=Wikipedia:{{{wikipedia}}}|{{PAGENAME}} on Wikipedia]]</div>}}<!-- | -->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} on Wikipedia" class="template-infobox-icon svg-icon infobox-wikipedia">[[File:Icon overlay.png|link=Wikipedia:{{{wikipedia}}}|{{PAGENAME}} on Wikipedia]]</div>}}<!-- | ||
− | -->{{#if: {{{winehq|}}} | <div title="{{PAGENAME}} on WineHQ" class="plainlinks template-infobox-icon svg-icon infobox-winehq">[[File:Icon overlay.png|link=https://appdb.winehq.org/objectManager.php?sClass=application&iId={{{winehq}}}]]</div> | + | -->{{#if: {{{winehq|}}} | <div title="{{PAGENAME}} on WineHQ" class="plainlinks template-infobox-icon svg-icon infobox-winehq">[[File:Icon overlay.png|link=https://appdb.winehq.org/objectManager.php?sClass=application&iId={{{winehq}}}]]</div>}}</td> |
− | |||
</tr> | </tr> | ||
}}<!-- Hidden properties | }}<!-- Hidden properties |
Revision as of 00:59, 30 October 2021
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).
Visit Development:Infobox game/Documentation to edit this text. (How does this work?)