Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(warnings test dev) |
(test output) |
||
Line 114: | Line 114: | ||
-->{{#vardefine:section|Infobox game}}<!-- | -->{{#vardefine:section|Infobox game}}<!-- | ||
-->{{Tocbox}}<!-- | -->{{Tocbox}}<!-- | ||
− | -->{{#if:{{#var:Warnings}}{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Warnings IS NOT NULL|fields=Warnings|no html|default=}}|{{#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|{{Development:Warnings}}}}}}{{#vardefine:Warnings|}}</includeonly><noinclude>{{#cargo_declare: | + | -->{{#if:{{#var:Warnings}}{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Warnings IS NOT NULL|fields=Warnings|no html|default=}}|{{#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|Warn Test: {{#var:Warnings}}{{Development:Warnings}}}}}}{{#vardefine:Warnings|}}</includeonly><noinclude>{{#cargo_declare: |
_table=Infobox_game | _table=Infobox_game | ||
|Cover=File | |Cover=File |
Revision as of 06:35, 21 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?)