Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(test fix Windows 3.x warning) |
(1:1 with live) |
||
Line 114: | Line 114: | ||
-->{{#vardefine:Warnings|{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||Windows 3.x,}}}}{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Warnings IS NOT NULL|fields=Warnings|no html|default=}}}}<!-- | -->{{#vardefine:Warnings|{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||Windows 3.x,}}}}{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Warnings IS NOT NULL|fields=Warnings|no html|default=}}}}<!-- | ||
-->{{Tocbox}}<!-- | -->{{Tocbox}}<!-- | ||
− | -->{{#if:{{#var:Warnings}}|{{#vardefine:Top warnings|true}}{{#vardefine:Top last|Infobox}}{{#vardefine:Top|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Top IS NOT NULL|fields=Top|no html|default=}}}}{{#ifeq:{{#var:Top|Infobox}}|Infobox|<p>'''Warnings'''</p>{{#arraymaptemplate:{{#var:Warnings}}| | + | -->{{#if:{{#var:Warnings}}|{{#vardefine:Top warnings|true}}{{#vardefine:Top last|Infobox}}{{#vardefine:Top|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Top IS NOT NULL|fields=Top|no html|default=}}}}{{#ifeq:{{#var:Top|Infobox}}|Infobox|<p>'''Warnings'''</p>{{#arraymaptemplate:{{#var:Warnings}}|Warnings|,|\n}}}}}}{{#vardefine:Warnings|}}</includeonly><noinclude>{{#cargo_declare: |
_table=Infobox_game | _table=Infobox_game | ||
|Cover=File | |Cover=File |
Revision as of 00:04, 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?)