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

Difference between revisions of "Template:Infobox game"

From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
(Infobox game imported from PCGW)
 
(minor changes)
Line 1: Line 1:
<includeonly>{{Assignment/checkAvailable}}<!--
+
<includeonly><!--{{Assignment/checkAvailable}}--><!--
 
--><table class="vertical-navbox template-infobox" id="infobox-game">
 
--><table class="vertical-navbox template-infobox" id="infobox-game">
 
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</caption>
 
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</caption>
Line 93: Line 93:
 
-->}}<!-- 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|{{#show: {{PAGENAME}} | ?VR only}}}}<!--
-->{{#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:DOS}} | 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:Mac OS}} | 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)]]}}<!--
 
 
-->{{#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}} }}}}<!--
 
 
-->{{#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:{{#show: {{PAGENAME}} | ?Warnings}}|{{#vardefine:Top warnings|true}}{{#vardefine:Top last|Infobox}}{{#vardefine:Top|{{#show: {{PAGENAME}} | ?Top}}}}{{#vardefine:DRM|{{#show: {{PAGENAME}} | ?Uses DRM}}}}{{#ifeq:{{#var:Top}}|Infobox|{{Warnings}}}}}}</includeonly><noinclude>{{#cargo_declare:
 
-->{{#if:{{#show: {{PAGENAME}} | ?Warnings}}|{{#vardefine:Top warnings|true}}{{#vardefine:Top last|Infobox}}{{#vardefine:Top|{{#show: {{PAGENAME}} | ?Top}}}}{{#vardefine:DRM|{{#show: {{PAGENAME}} | ?Uses DRM}}}}{{#ifeq:{{#var:Top}}|Infobox|{{Warnings}}}}}}</includeonly><noinclude>{{#cargo_declare:
_table=Infobox_game
+
_table=Game
 
|Cover=File
 
|Cover=File
 
|Cover_URL=URL
 
|Cover_URL=URL
Line 116: Line 107:
 
|License=String
 
|License=String
 
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Games]]{{#vardefine:Game|true}}{{#cargo_store:
 
}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Games]]{{#vardefine:Game|true}}{{#cargo_store:
_table=Infobox_game
+
_table=Game
 
|Cover={{#ifexist: File:{{{cover}}}|{{{cover|}}}|}}
 
|Cover={{#ifexist: File:{{{cover}}}|{{{cover|}}}|}}
 
|Cover_URL={{filepath:{{{cover|}}}}}
 
|Cover_URL={{filepath:{{{cover|}}}}}

Revision as of 20:30, 20 January 2021

This template defines the table "Game". This table has not been created yet.

Documentation for the above template (sometimes hidden from view).