Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(test move DRM to Warnings) |
(test new Cargo WSGF workaround) |
||
Line 79: | Line 79: | ||
-->{{#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>}}<!-- | ||
− | -->{{#if: {{#var:WSGF Link}} | | + | -->{{#if: {{#var:WSGF Link}} | {{#cargo_query:tables=Video|where=_pageID = {{PAGEID}} AND WSGF_Link IS NOT NULL|fields=WSGF_Link|format=template|template=Infobox game/WSGF|default=}} }}</td> |
</tr> | </tr> | ||
}}<!-- Hidden properties | }}<!-- Hidden properties |
Revision as of 07:46, 12 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?)