Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(test pageID) |
(test non-null to hide error) |
||
Line 60: | Line 60: | ||
Icons --><!-- | Icons --><!-- | ||
storing WSGF Link state -->{{#vardefine:WSGF Link|{{#show: {{PAGENAME}} | ?WSGF Link #}}}}<!-- | storing WSGF Link state -->{{#vardefine:WSGF Link|{{#show: {{PAGENAME}} | ?WSGF Link #}}}}<!-- | ||
− | storing digital state -->{{#vardefine:available digitally|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}}|fields=Available_digitally|default=}}}}{{#if: {{{wikipedia|}}}{{{gogcom id|}}}{{{steam appid|}}}{{{winehq|}}}{{{strategywiki|}}}{{{mobygames|}}}{{{igdb|}}}{{#var:WSGF Link}}{{{official site|}}}| | + | storing digital state -->{{#vardefine:available digitally|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Available_digitally IS NOT NULL|fields=Available_digitally|default=}}}}{{#if: {{{wikipedia|}}}{{{gogcom id|}}}{{{steam appid|}}}{{{winehq|}}}{{{strategywiki|}}}{{{mobygames|}}}{{{igdb|}}}{{#var:WSGF Link}}{{{official site|}}}| |
<tr> | <tr> | ||
<td class="template-infobox-icons" colspan="2"><!-- | <td class="template-infobox-icons" colspan="2"><!-- |
Revision as of 10:19, 17 September 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?)