Template:Game: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
2,551 bytes removed ,  28 July 2022
m
fix
(moved Japanese title up, added series2 parameter for dual-series games)
m (fix)
 
(42 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table class="infobox bordered" cellpadding="2"><!--
<includeonly><templatestyles src="Template:Game/styles.css" />{{#invoke:game|game}}</includeonly><noinclude>
--><tr><th colspan="2" class="infobox_heading">{{{title|{{PAGENAME}}}}}</th></tr><!--
-->{{#if:{{{japanese|}}}|<tr><th>Japanese title</th><td>{{{japanese|}}}</td></tr>}}<!--
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center">[[File:{{{image}}}|250px|Box artwork for {{{title|{{PAGENAME}}}}}.]]</td></tr>|<includeonly>[[Category:Pages needing box artwork]]</includeonly>}}<!--
--><tr><th style="width:125px">Developer(s)</th><td>{{{developer|<includeonly>[[Category:Pages needing an infobox|{{PAGENAME}}]]</includeonly>}}}</td></tr><!--
--><tr><th>Publisher(s)</th><td>{{{publisher|<includeonly>[[Category:Pages needing an infobox|{{PAGENAME}}]]</includeonly>}}}</td></tr><!--
-->{{#if:{{{distributor|}}}|<tr><th>Distributor(s)</th><td>{{{distributor|}}}</td></tr>}}<!--
-->{{#if:{{{designer|}}}|<tr><th>Designer(s)</th><td>{{{designer|}}}</td></tr>}}<!--
-->{{#if:{{{engine|}}}|<tr><th>Engine</th><td>{{{engine|}}}</td></tr>}}<!--
-->{{#if:{{{version|}}}|<tr><th>Latest version</th><td>{{{version|}}}</td></tr>}}<!--
--><tr><th style="white-space:nowrap">Release date(s)</th><td>{{{released|<includeonly>[[Category:Pages needing an infobox|{{PAGENAME}}]]</includeonly>}}}</td></tr><!--
--><tr><th>Genre(s)</th><td>{{{genre|{{{categories|<includeonly>[[Category:Pages needing an infobox|{{PAGENAME}}]]</includeonly>}}}}}}</td></tr><!--
--><tr><th>System(s)</th><td>{{{systems|{{{platforms|<includeonly>[[Category:Pages needing an infobox|{{PAGENAME}}]]</includeonly>}}}}}}</td></tr><!--
-->{{#if:{{{players|}}}|<tr><th>Players</th><td>{{{players|}}}</td></tr>}}<!--
-->{{#if:{{{modes|}}}|<tr><th>Mode(s)</th><td>{{{modes|}}}</td></tr>}}<!--
-->{{#if:{{{ratings|}}}|<tr><th>Rating(s)</th><td>{{{ratings|}}}</td></tr>}}<!--
-->{{#if:{{{media|}}}|<tr><th>Media</th><td>{{{media|}}}</td></tr>}}<!--
-->{{#if:{{{requirements|}}}|<tr><th>System requirements <span class="explanation_link">([[PC/System requirements|help]])</span></th><td>{{{requirements|}}}</td></tr>}}<!--
-->{{#if:{{{website|}}}|<tr><th style="white-space:nowrap">Website</th><td>{{{website|}}}</td></tr>}}<!--
-->{{#if:{{{input|}}}|<tr><th>Input</th><td>{{{input|}}}</td></tr>}}<!--
-->{{#if:{{{expansion|}}}|<tr><th style="white-space:nowrap">Expansion pack(s)</th><td>''{{{expansion|}}}''</td></tr>}}<!--
-->{{#if:{{{preceded by|}}}|<tr><th style="white-space:nowrap">Preceded by</th><td>''{{{preceded by|}}}''</td></tr>}}<!--
-->{{#if:{{{followed by|}}}|<tr><th style="white-space:nowrap">Followed by</th><td>''{{{followed by|}}}''</td></tr>}}<!--
-->{{#if:{{{series|}}}|<tr><th>Series</th><td>[[:Category:{{{series|}}}|{{{series|}}}]]{{#if:{{{series2|}}}|&nbsp;and&nbsp;[[:Category:{{{series2|}}}|{{{series2|}}}]][[Category:{{{series2}}}]]</td></tr>}}[[Category:{{{series}}}]]</td></tr>}}<!--
--><InfoboxNeoLink /><!--
--></table><includeonly>[[Category:Games]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Templates|I]]</noinclude>
 
[[Category:Infobox templates]]
{{#cargo_declare:
_table = Game
|completion=Integer
|image=File
|japanese=String
|series=String
}}</noinclude><includeonly>{{#cargo_store:
_table = Game
|completion={{{completion|0}}}
|image={{{image|}}}
|japanese={{{japanese|}}}
|series={{{series|}}}
}}</includeonly>