Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(test dev) |
(1:1 with live) |
||
Line 111: | Line 111: | ||
-->{{#ifeq: {{#var:Linux}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!-- | -->{{#ifeq: {{#var:Linux}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!-- | ||
-->{{#if: {{{gogcom page|}}} | [[Category:Invalid template usage (Infobox game)]]}}</table><!-- | -->{{#if: {{{gogcom page|}}} | [[Category:Invalid template usage (Infobox game)]]}}</table><!-- | ||
− | -->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings| | + | -->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings|Windows 3.x}} }}}}<!-- |
-->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!-- | -->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!-- | ||
-->{{Tocbox}}<!-- | -->{{Tocbox}}<!-- | ||
− | -->{{#if:{{#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|{{ | + | -->{{#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|{{Warnings}}}}}}{{#vardefine:Warnings|}}</includeonly><noinclude>{{#cargo_declare: |
_table=Infobox_game | _table=Infobox_game | ||
|Cover=File | |Cover=File |
Revision as of 05:41, 15 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?)