Template:Game infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Text replacement - "" />" to ""/>")
 
(134 intermediate revisions by 32 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=240px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: #fff8f7; border:1px solid #a88;"
<includeonly><templatestyles src="Game infobox/styles.css"/>
| align="center" colspan="2" bgcolor="#faaaaa" style="font-size:110%;" | '''''{{{title}}}'''''
{| id="game" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{name|''{{{title|{{PAGETITLE}}}}}''}}}
|-
|-
|align="center" colspan="2" | {{{image|[[Image:Nocoverart.png]]}}}
| 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]].}}
|- style=background:#fbb
|'''Developer(s)'''
| style="width:17em" | {{{developer|}}}
|- style="vertical-align: top;"
| '''Publisher(s)'''
| {{{publisher|}}}
|- style=background:#fbb
| '''Release date'''
| {{{released|}}}
|- style="vertical-align: top;"
| '''Genre'''
| {{{genre|}}}
|- style=background:#fbb
| '''Mode(s)'''
| {{{modes|}}}
|- style="vertical-align: top;"
| '''Rating(s)'''
| {{{ratings|}}}
|- style=background:#fbb
| '''Platform(s)'''
| {{{platforms|}}}
|- style="vertical-align: top;"
{{if defined call1 | {{{media}}} | Infobox/media | {{{media}}}}}
|-
|-
|}<noinclude>[[Category:Formatting Templates]]</noinclude>
{{#if:{{{developer|}}}|
{{!}} '''Developer'''
{{!}} {{{developer}}}
}}
|-
{{#if:{{{publisher|}}}|
{{!}} '''Publisher'''
{{!}} {{{publisher}}}
}}
|-
{{#if:{{{platforms|}}}|
{{!}} '''Platform(s)'''
{{!}} {{{platforms}}}
}}
|-
{{#if:{{{release|}}}|
{{!}} '''Release date'''
{{!}} {{{release}}}
{{#if:{{{release2|}}}|{{hide|show=more...|content={{{release2}}}}}}}
}}
|-
{{#if:{{{end|}}}|
{{!}} '''End of service'''
{{!}} {{{end}}}
}}
|-
{{#if:{{{languages|}}}|
{{!}} '''Language(s)'''
{{!}} {{{languages}}}
}}
|-
{{#if:{{{genre|}}}|
{{!}} '''Genre'''
{{!}} {{{genre}}}
}}
|-
{{#if:{{{ratings|}}}|
{{!}} '''Rating(s)'''
{{!}} {{{ratings}}}
}}
|-
{{#if:{{{modes|}}}|
{{!}} '''Mode(s)'''
{{!}} {{{modes}}}
}}
|-
{{#if:{{{media|}}}|
{{!}} '''Media'''
{{!}} {{{media}}}
}}
|-
{{#if:{{{cabinet|}}}|
{{!}} '''Cabinet'''
{{!}} {{{cabinet}}}
}}
|-
{{#if:{{{arcade_system|}}}|
{{!}} '''Arcade system'''
{{!}} {{{arcade_system}}}
}}
|-
{{#if:{{{monitor|}}}|
{{!}} '''Monitor'''
{{!}} {{{monitor}}}
}}
|-
{{#if:{{{input|}}}|
{{!}} '''Input'''
{{!}} {{{input}}}
}}
|-
{{#if:{{{ids|}}}|
{{!}} '''Product ID(s)'''
{{!}} {{{ids}}}
}}
|}</includeonly><noinclude>
{{ {{PAGETITLE}}
|image=[[File:Nocoverart.png|frameless|upright=1.4|]]
|developer=Lorem ipsum
|publisher=Lorem ipsum
|platforms=Lorem ipsum
|release='''<nowiki>{{</nowiki>'''release'''<nowiki>}}</nowiki>'''
|end=Lorem ipsum
|languages='''<nowiki>{{</nowiki>'''languages'''<nowiki>}}</nowiki>'''
|genre=Lorem ipsum
|ratings='''<nowiki>{{</nowiki>'''ratings'''<nowiki>}}</nowiki>'''
|modes=Lorem ipsum
|media='''<nowiki>{{</nowiki>'''media'''<nowiki>}}</nowiki>'''
|cabinet=Lorem ipsum
|arcade_system=Lorem ipsum
|monitor=Lorem ipsum
|input='''<nowiki>{{</nowiki>'''input'''<nowiki>}}</nowiki>'''
|ids=Lorem ipsum
}}
{{br}}
==Usage==
{| style="float:right;width:70%;border-collapse:collapse;margin:0 0 1em 1em" cellpadding="3" border="1"
! colspan="2" style="background:#FAAAAA"| Syntax
|-
| &#124;title=
| Title of the game (only necessary when the name of the article sans identifier is not the desired title).
|-
| &#124;image=
| Box art of the game (North American box takes precedence to be consistent with the [[MarioWiki:Naming|naming policy]]).
|-
| &#124;developer=
| Developer of the game.
|-
| &#124;publisher=
| Publisher of the game (based on which console/handheld this game is for).
|-
| &#124;platforms=
| What consoles/handhelds can play the game.
|-
| &#124;release=
| Release dates in all countries for all platforms, in order from earliest to latest (use {{tem|release}}).
|-
| &#124;end=
| If the game is no longer playable, the end of service date.
|-
| &#124;languages=
| The languages in which the game can be played (use {{tem|languages}}).
|-
| &#124;genre=
| What genre the game is in (see [[genre]] for a full list of genres).
|-
| &#124;ratings=
| Official age ratings of the game (use {{tem|ratings}}).
|-
| &#124;modes=
| How many players can play the game simultaneously, and whether or not the game supports online play.
|-
| &#124;media=
| The medium used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{tem|media}}).
|-
| &#124;cabinet=
| Cabinet type (use for arcade games only).
|-
| &#124;arcade_system=
| The system board (use for arcade games only).
|-
| &#124;monitor=
| Monitor specifications (use for arcade games only).
|-
| &#124;input=
| What controller(s) the title supports (use {{tem|input}}).
|-
| &#124;ids=
| The product ID(s) assigned to the game.
|-
| &#124;gallery=
| Added only when the existing gallery link needs to be changed or the image caption removed (set to blank).
|}
 
<pre>
{{game infobox
|title=
|image=
|developer=
|publisher=
|platforms=
|release={{release}}
|end=
|languages={{languages}}
|genre=
|ratings={{ratings}}
|modes=
|media={{media}}
|cabinet=
|arcade_system=
|monitor=
|input={{input}}
|ids=
}}
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:09, March 19, 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
Media {{media}}
Cabinet Lorem ipsum
Arcade system Lorem ipsum
Monitor Lorem ipsum
Input {{input}}
Product ID(s) Lorem ipsum

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}}).
|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.
|media= The medium used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{media}}).
|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}}).
|ids= The product ID(s) assigned to the game.
|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=
|media={{media}}
|cabinet=
|arcade_system=
|monitor=
|input={{input}}
|ids=
}}