Template:Game infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "" />" to ""/>")
(82 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{|class="infobox" cellpadding=2 cellspacing=2 width=265 style="float:right;padding:4px;margin:0 0 1em 1em;font-size:11px;background-color:#FFF5EE;border:1px solid #8a8"
<includeonly><templatestyles src="Game infobox/styles.css"/>
|align=center colspan=2 bgcolor=#FAAAAA style=font-size:13px{{!}}'''''{{{title|{{PAGENAME}}}}}'''''
{| id="game" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{name|''{{{title|{{PAGETITLE}}}}}''}}}
|-
|-
|align=center colspan=2|{{{image|}}}  
| 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]].}}
|-bgcolor=#FFE4E1 style=vertical-align:top
|-
|'''Developer(s)'''
{{#if:{{{developer|}}}|
|{{{developer|}}}
{{!}} '''Developer'''
|-style=vertical-align:top
{{!}} {{{developer}}}
|'''Publisher(s)'''
}}
|{{{publisher|}}}
|-
|-bgcolor=#FFE4E1 style=vertical-align:top
{{#if:{{{publisher|}}}|
|'''Platform(s)'''
{{!}} '''Publisher'''
|{{{platforms|}}}
{{!}} {{{publisher}}}
|-style=vertical-align:top
}}
|'''Release date'''
|-
|{{{released|}}}
{{#if:{{{platforms|}}}|
|-bgcolor=#FFE4E1 style=vertical-align:top
{{!}} '''Platform(s)'''
|'''{{color-link|Genre|#000}}'''
{{!}} {{{platforms}}}
|{{{genre|}}}
}}
|-style=vertical-align:top
|-
|'''Rating(s)'''
{{#if:{{{release|}}}|
|{{{ratings|}}}
{{!}} '''Release date'''
|-bgcolor=#FFE4E1 style=vertical-align:top
{{!}} {{{release}}}
|'''Mode(s)'''
{{#if:{{{release2|}}}|{{hide|show=more...|content={{{release2}}}}}}}
|{{{modes|}}}
}}
|-style=vertical-align:top
|-
|'''Media'''
{{#if:{{{end|}}}|
|{{{media|}}}
{{!}} '''End of service'''
|-bgcolor=#FFE4E1 style=vertical-align:top
{{!}} {{{end}}}
|'''Input'''
}}
|{{{input|}}}
|-
|}<noinclude>{{br}}
{{#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==
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
{| style="float:right;width:70%;border-collapse:collapse;margin:0 0 1em 1em" cellpadding="3" border="1"
!colspan=2|Syntax
! 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;title=
| &#124;languages=
|Title of the game (only necessary when the name of the article has text other than the title alone, such as "Title (game)")
| The languages in which the game can be played (use {{tem|languages}}).
|-
|-
|&#124;image=
| &#124;genre=
|Box art of the game (North American box takes precedence to be consistent with [[MarioWiki:Naming|the naming policy]])
| What genre the game is in (see [[genre]] for a full list of genres).
|-
|-
|&#124;developer=
| &#124;ratings=
|Developer of the game
| Official age ratings of the game (use {{tem|ratings}}).
|-
|-
|&#124;publisher=
| &#124;modes=
|Publisher of the game (based on which console/handheld this game is for)
| How many players can play the game simultaneously, and whether or not the game supports online play.
|-
|-
|&#124;platforms=
| &#124;media=
|What consoles/handhelds can play the game
| The medium used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{tem|media}}).
|-
|-
|&#124;released=
| &#124;cabinet=
|Release date in all countries for all platforms (use {{tem|releasedate}})
| Cabinet type (use for arcade games only).
|-
|-
|&#124;genre=
| &#124;arcade_system=
|What genre the game is in (see [[Genre]] for a full list of genres)
| The system board (use for arcade games only).
|-
|-
|&#124;ratings=
| &#124;monitor=
|Official ratings of the game (use {{tem|ratings}})
| Monitor specifications (use for arcade games only).
|-
|-
|&#124;modes=
| &#124;input=
|How many players can play the game simultaneously, and whether or not the game supports online play
| What controller(s) the title supports (use {{tem|input}}).
|-
|-
|&#124;media=
| &#124;ids=
|Whether the game is a cartridge or an optical disc
| The product ID(s) assigned to the game.
|-
|-
|&#124;input=
| &#124;gallery=
|What controllers can be used (use {{tem|input}})
| Added only when the existing gallery link needs to be changed or the image caption removed (set to blank).
|}
|}
<pre>
<pre>
{{infobox
{{game infobox
|title=
|title=
|image=
|image=
Line 75: Line 166:
|publisher=
|publisher=
|platforms=
|platforms=
|released=
|release={{release}}
|end=
|languages={{languages}}
|genre=
|genre=
|ratings=
|ratings={{ratings}}
|modes=
|modes=
|media=
|media={{media}}
|input=
|cabinet=
|arcade_system=
|monitor=
|input={{input}}
|ids=
}}
}}
</pre>
</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

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=
}}