Difference between revisions of "Development:Infobox game"

From PCGamingWiki, the wiki about fixing PC games
(r/v WSGF Cargo for now)
(test VR only via Cargo)
(One intermediate revision by the same user not shown)
Line 101: Line 101:
 
-->{{#vardefine:System requirements|needed}}<!--
 
-->{{#vardefine:System requirements|needed}}<!--
 
-->}}<!-- end ONLY APPLY ON PAGES IN MAIN NAMESPACE end
 
-->}}<!-- end ONLY APPLY ON PAGES IN MAIN NAMESPACE end
-->{{#vardefine:VR|{{#show: {{PAGENAME}} | ?VR only}}}}<!--
+
-->{{#vardefine:VR|{{#cargo_query:tables=VR_support|where=_pageName = '{{PAGENAME}}' AND VR_only IS NOT NULL|fields=VR_only|default=}}}}<!--
 
-->{{#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)]]}}<!--
Line 118: Line 118:
 
|Cover=File
 
|Cover=File
 
|Cover_URL=URL
 
|Cover_URL=URL
|Developers=List (,) of String
+
|Developers=List (,) of Page
|Porters_PC_booter=List (,) of String
+
|Porters_PC_booter=List (,) of Page
|Porters_DOS=List (,) of String
+
|Porters_DOS=List (,) of Page
|Porters_Windows_3x=List (,) of String
+
|Porters_Windows_3x=List (,) of Page
|Porters_Windows=List (,) of String
+
|Porters_Windows=List (,) of Page
|Porters_Mac_OS=List (,) of String
+
|Porters_Mac_OS=List (,) of Page
|Porters_OS_X=List (,) of String
+
|Porters_OS_X=List (,) of Page
|Porters_Linux=List (,) of String
+
|Porters_Linux=List (,) of Page
|Publishers=List (,) of String
+
|Publishers=List (,) of Page
|Engines=List (,) of String
+
|Engines=List (,) of Page
 
|Available_on=List (,) of String
 
|Available_on=List (,) of String
 +
|Released=List (;) of Date
 
|Released_PC_booter=Date
 
|Released_PC_booter=Date
 
|Released_DOS=Date
 
|Released_DOS=Date
Line 168: Line 169:
 
|Engines={{#var:engines}}
 
|Engines={{#var:engines}}
 
|Available_on={{#var:available on}}
 
|Available_on={{#var:available on}}
 +
|Released={{#var:released}}
 
|Released_PC_booter={{#var:released PC booter}}
 
|Released_PC_booter={{#var:released PC booter}}
 
|Released_DOS={{#var:released DOS}}
 
|Released_DOS={{#var:released DOS}}
Line 194: Line 196:
 
|Wikipedia={{{wikipedia|}}}
 
|Wikipedia={{{wikipedia|}}}
 
|License={{{license|}}}
 
|License={{{license|}}}
}}
+
}}|}}</includeonly><noinclude>{{Documentation}} </noinclude>
|}}</includeonly><noinclude>{{Documentation}} </noinclude>
 

Revision as of 08:50, 17 September 2021

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