Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
(🐘🐘🐘) |
(test section vardefine move) |
||
Line 82: | Line 82: | ||
</tr> | </tr> | ||
}}<!-- Hidden properties | }}<!-- Hidden properties | ||
− | |||
-->{{#ifeq: {{NAMESPACE}} | | <!-- begin ONLY APPLY ON PAGES IN MAIN NAMESPACE begin (fixes PCGW Steam/GOG Redirect API endpoints among other things) | -->{{#ifeq: {{NAMESPACE}} | | <!-- begin ONLY APPLY ON PAGES IN MAIN NAMESPACE begin (fixes PCGW Steam/GOG Redirect API endpoints among other things) | ||
-->{{#if: {{{steam appid|}}}| [[Steam AppID::{{{steam appid}}}| ]] {{#vardefine:steam appid|{{{steam appid}}}}} }}<!-- | -->{{#if: {{{steam appid|}}}| [[Steam AppID::{{{steam appid}}}| ]] {{#vardefine:steam appid|{{{steam appid}}}}} }}<!-- | ||
Line 112: | Line 111: | ||
-->{{#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|Windows 3.x}} }}}}<!-- | -->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings|Windows 3.x}} }}}}<!-- | ||
− | -->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd> | + | -->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Development:Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!-- |
+ | -->{{#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|{{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|{{Warnings}}}}}}{{#vardefine:Warnings|}}</includeonly><noinclude>{{#cargo_declare: |
Revision as of 05:49, 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?)