Template:Game infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "rawtitle" to "name")
m (Text replacement - "Nocoverart.png" to "No image.png")
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Game infobox/styles.css" />
<includeonly><templatestyles src="Game infobox/styles.css"/>
{| id="game" class="infobox" style="width:300px"
{| id="game" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{name|''{{{title|{{PAGETITLE}}}}}''}}}
! colspan="2" style="font-size:125%" | {{{name|''{{{title|{{PAGETITLE}}}}}''}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}{{#ifexist:Gallery:{{{gallery|{{SUBPAGENAME}}}}}|<br />For alternate box art, see the [[Gallery:{{{gallery|{{SUBPAGENAME}}#Box art}}}|game's gallery]].}}
| colspan="2" style="text-align:center" | {{{image|}}}{{#ifexist:Gallery:{{{gallery|{{SUBPAGENAME}}}}}|<br>For alternate box art, see the [[Gallery:{{{gallery|{{SUBPAGENAME}}#Box art}}}|game's gallery]].}}
|-
|-
{{#if:{{{developer|}}}|
{{#if:{{{developer|}}}|
Line 51: Line 51:
}}
}}
|-
|-
{{#if:{{{media|}}}|
{{#if:{{{format|}}}|
{{!}} '''Media'''
{{!}} '''Format'''
{{!}} {{{media}}}
{{!}} {{{format}}}
}}
}}
|-
|-
Line 76: Line 76:
}}
}}
|-
|-
{{#if:{{{ids|}}}|
{{#if:{{{serials|}}}|
{{!}} '''Product ID(s)'''
{{!}} '''Serial code(s)'''
{{!}} {{{ids}}}
{{!}} {{{serials}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{ {{PAGETITLE}}
{{game infobox
|image=[[File:Nocoverart.png|frameless|upright=1.4|]]
|image=[[File:No image.png|frameless|upright=1.4|]]
|developer=Lorem ipsum
|developer=Lorem ipsum
|publisher=Lorem ipsum
|publisher=Lorem ipsum
Line 92: Line 92:
|ratings='''<nowiki>{{</nowiki>'''ratings'''<nowiki>}}</nowiki>'''
|ratings='''<nowiki>{{</nowiki>'''ratings'''<nowiki>}}</nowiki>'''
|modes=Lorem ipsum
|modes=Lorem ipsum
|media='''<nowiki>{{</nowiki>'''media'''<nowiki>}}</nowiki>'''
|format='''<nowiki>{{</nowiki>'''format'''<nowiki>}}</nowiki>'''
|cabinet=Lorem ipsum
|cabinet=Lorem ipsum
|arcade_system=Lorem ipsum
|arcade_system=Lorem ipsum
|monitor=Lorem ipsum
|monitor=Lorem ipsum
|input='''<nowiki>{{</nowiki>'''input'''<nowiki>}}</nowiki>'''
|input='''<nowiki>{{</nowiki>'''input'''<nowiki>}}</nowiki>'''
|ids=Lorem ipsum
|serials='''<nowiki>{{</nowiki>'''serials'''<nowiki>}}</nowiki>'''
}}
}}
{{br}}
{{br}}
Line 120: Line 120:
|-
|-
| &#124;release=
| &#124;release=
| Release dates in all countries for all platforms, in order from earliest to latest (use {{tem|release}}).
| Release dates in all countries for all platforms, in order from earliest to latest (use {{tem|release}}). If there are many release dates, <code>release2</code> can be used to add collapsed entries.
|-
|-
| &#124;end=
| &#124;end=
Line 137: Line 137:
| How many players can play the game simultaneously, and whether or not the game supports online play.
| How many players can play the game simultaneously, and whether or not the game supports online play.
|-
|-
| &#124;media=
| &#124;format=
| The medium used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{tem|media}}).
| The media format used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{tem|format}}).
|-
|-
| &#124;cabinet=
| &#124;cabinet=
| Cabinet type (use for arcade games only).
| Cabinet type (use for arcade games only).
|-
|-
| &#124;arcade_system=
| {{nw|1=&#124;arcade_system=}}
| The system board (use for arcade games only).
| The system board (use for arcade games only).
|-
|-
Line 152: Line 152:
| What controller(s) the title supports (use {{tem|input}}).
| What controller(s) the title supports (use {{tem|input}}).
|-
|-
| &#124;ids=
| &#124;serials=
| The product ID(s) assigned to the game.
| The product serial code(s) assigned to the game (use {{tem|serials}}).
|-
|-
| &#124;gallery=
| &#124;gallery=
Line 172: Line 172:
|ratings={{ratings}}
|ratings={{ratings}}
|modes=
|modes=
|media={{media}}
|format={{format}}
|cabinet=
|cabinet=
|arcade_system=
|arcade_system=
|monitor=
|monitor=
|input={{input}}
|input={{input}}
|ids=
|serials={{serials}}
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 14:17, June 30, 2024

Game infobox
Used in case of images missing from a section gallery, table, bestiary box, or certain infoboxes.
Developer Lorem ipsum
Publisher Lorem ipsum
Platform(s) Lorem ipsum
Release date {{release}}
End of service Lorem ipsum
Language(s) {{languages}}
Genre Lorem ipsum
Rating(s) {{ratings}}
Mode(s) Lorem ipsum
Format {{format}}
Cabinet Lorem ipsum
Arcade system Lorem ipsum
Monitor Lorem ipsum
Input {{input}}
Serial code(s) {{serials}}

Usage

Syntax
|title= Title of the game (only necessary when the name of the article sans identifier is not the desired title).
|image= Box art of the game (North American box takes precedence to be consistent with the naming policy).
|developer= Developer of the game.
|publisher= Publisher of the game (based on which console/handheld this game is for).
|platforms= What consoles/handhelds can play the game.
|release= Release dates in all countries for all platforms, in order from earliest to latest (use {{release}}). If there are many release dates, release2 can be used to add collapsed entries.
|end= If the game is no longer playable, the end of service date.
|languages= The languages in which the game can be played (use {{languages}}).
|genre= What genre the game is in (see genre for a full list of genres).
|ratings= Official age ratings of the game (use {{ratings}}).
|modes= How many players can play the game simultaneously, and whether or not the game supports online play.
|format= The media format used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{format}}).
|cabinet= Cabinet type (use for arcade games only).
|arcade_system= The system board (use for arcade games only).
|monitor= Monitor specifications (use for arcade games only).
|input= What controller(s) the title supports (use {{input}}).
|serials= The product serial code(s) assigned to the game (use {{serials}}).
|gallery= Added only when the existing gallery link needs to be changed or the image caption removed (set to blank).
{{game infobox
|title=
|image=
|developer=
|publisher=
|platforms=
|release={{release}}
|end=
|languages={{languages}}
|genre=
|ratings={{ratings}}
|modes=
|format={{format}}
|cabinet=
|arcade_system=
|monitor=
|input={{input}}
|serials={{serials}}
}}