Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(warnings define test) |
(r/v visual test) |
||
Line 115: | Line 115: | ||
-->{{#vardefine:Warnings|{{#cargo_query:tables=Tags|where=_pageID = {{PAGEID}} AND Warnings IS NOT NULL|fields=Warnings|no html|default=}}}}<!-- | -->{{#vardefine:Warnings|{{#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| | + | -->{{#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|{{Development:Warnings}}}}}}{{#vardefine:Warnings|}}</includeonly><noinclude>{{#cargo_declare: |
_table=Infobox_game | _table=Infobox_game | ||
|Cover=File | |Cover=File |
Revision as of 07:11, 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?)