Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:Infobox game"

From PCGamingWiki, the wiki about fixing PC games
(moved other new checks inside namespace check)
(1:1 with live)
Line 12: Line 12:
 
<th class="template-infobox-header" colspan="2">Developers</th>
 
<th class="template-infobox-header" colspan="2">Developers</th>
 
</tr>
 
</tr>
{{{developers}}}|{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (infobox game)]] }}
+
{{{developers}}}|{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Infobox game)]] }}
 
}}<!--  
 
}}<!--  
  
Line 84: Line 84:
 
-->{{#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}}}}} }}<!--
-->{{#if: {{{steam appid side|}}}| {{#ifeq: {{{steam appid|}}}||[[Category:Invalid template usage (infobox game)]]}}{{#arraymap:{{{steam appid side|}}}|,|var|[[Steam AppID::var| ]]|&#32;}} }}<!--
+
-->{{#if: {{{steam appid side|}}}| {{#ifeq: {{{steam appid|}}}||[[Category:Invalid template usage (Infobox game)]]}}{{#arraymap:{{{steam appid side|}}}|,|var|[[Steam AppID::var| ]]|&#32;}} }}<!--
 
-->{{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }}<!--
 
-->{{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }}<!--
 
-->{{#if: {{{gogcom id|}}}| [[GOGcom page::{{{gogcom id}}}| ]][[GOGcom ID::{{{gogcom id}}}| ]] {{#vardefine:gogcom id|{{{gogcom id}}}}} }}<!--
 
-->{{#if: {{{gogcom id|}}}| [[GOGcom page::{{{gogcom id}}}| ]][[GOGcom ID::{{{gogcom id}}}| ]] {{#vardefine:gogcom id|{{{gogcom id}}}}} }}<!--
Line 91: Line 91:
 
-->{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}<!--
 
-->{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}<!--
 
-->{{#if: {{{license|}}}| {{Infobox game/license|{{lc:{{{license|}}}}}}} }}<!--
 
-->{{#if: {{{license|}}}| {{Infobox game/license|{{lc:{{{license|}}}}}}} }}<!--
-->}}<!-- end ONLY APPLY ON PAGES IN MAIN NAMESPACE end
+
-->{{#if: {{#show: {{PAGENAME}} | ?Article state is stub}}||[[Category:Missing section (References)]]}}<!--
 
-->{{#vardefine:section|Infobox game}}<!--
 
-->{{#vardefine:section|Infobox game}}<!--
 
-->{{#vardefine:Availability|needed}}<!--
 
-->{{#vardefine:Availability|needed}}<!--
Line 100: Line 100:
 
-->{{#vardefine:API|needed}}<!--
 
-->{{#vardefine:API|needed}}<!--
 
-->{{#vardefine:System requirements|needed}}<!--
 
-->{{#vardefine:System requirements|needed}}<!--
 +
-->}}<!-- end ONLY APPLY ON PAGES IN MAIN NAMESPACE end
 
-->{{#vardefine:VR|{{#show: {{PAGENAME}} | ?VR only}}}}<!--
 
-->{{#vardefine:VR|{{#show: {{PAGENAME}} | ?VR only}}}}<!--
-->{{#if: {{#show: {{PAGENAME}} | ?Article state is stub}}||[[Category:Missing section (References)]]}}<!--
 
 
-->{{#ifeq: {{#var:PC booter}}{{#var:DOS}}{{#var:Windows 3.x}}{{#var:Windows}}{{#var:Mac OS}}{{#var:OS X}}{{#var:Linux}}|true||{{#vardefine:OS tabs|true}}}}<!--
 
-->{{#ifeq: {{#var:PC booter}}{{#var:DOS}}{{#var:Windows 3.x}}{{#var:Windows}}{{#var:Mac OS}}{{#var:OS X}}{{#var:Linux}}|true||{{#vardefine:OS tabs|true}}}}<!--
-->{{#ifeq: {{#var:PC booter}} | ported | [[Category:Invalid template usage (infobox game)]]}}<!--
+
-->{{#ifeq: {{#var:PC booter}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!--
-->{{#ifeq: {{#var:DOS}} | ported | [[Category:Invalid template usage (infobox game)]]}}<!--
+
-->{{#ifeq: {{#var:DOS}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!--
-->{{#ifeq: {{#var:Windows 3.x}} | ported | [[Category:Invalid template usage (infobox game)]]}}<!--
+
-->{{#ifeq: {{#var:Windows 3.x}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!--
-->{{#ifeq: {{#var:Windows}} | ported | [[Category:Invalid template usage (infobox game)]]}}<!--
+
-->{{#ifeq: {{#var:Windows}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!--
-->{{#ifeq: {{#var:Mac OS}} | ported | [[Category:Invalid template usage (infobox game)]]}}<!--
+
-->{{#ifeq: {{#var:Mac OS}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!--
-->{{#ifeq: {{#var:OS X}} | ported | [[Category:Invalid template usage (infobox game)]]}}<!--
+
-->{{#ifeq: {{#var:OS X}} | ported | [[Category:Invalid template usage (Infobox game)]]}}<!--
-->{{#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|true}} }}}}<!--
 
-->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{#vardefine:Warnings|true}} }}}}<!--
 
-->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!--
 
-->{{#arraymap:{{#var:sidebarSeries}}|,|€€€€€|{{#if:{{#var:sidebarSeriesShown}}||</dd>{{Series|€€€€€}}{{#vardefine:sidebarSeriesShown|true}}}}|}}<!--

Revision as of 05:55, 2 September 2021

Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).