Template:Game infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(some play nintendo activities dont have all of them filled out, so i'll make them optional like in Template:Character-infobox)
m (Text replacement - "" />" to ""/>")
(60 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{|class="infobox" cellpadding=2 cellspacing=2 style="float:right;width:300px;padding:4px;margin:0 0 1em 1em;font-size:11px;background-color:#FFF5EE;border:1px solid #f98686"
<includeonly><templatestyles src="Game infobox/styles.css"/>
|colspan=2 style=text-align:center;background-color:#FAAAAA;font-size:13px | '''''{{{title|{{PAGENAME}}}}}'''''
{| id="game" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{name|''{{{title|{{PAGETITLE}}}}}''}}}
|-
|-
|colspan=2 style="text-align:center"|{{{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]].}}
|- style="vertical-align: top"
|-
{{#if:{{{developer|}}}|{{!}}- style="vertical-align: top;background: #FFE4E1"
{{#if:{{{developer|}}}|
{{!}} '''Developer'''
{{!}} '''Developer'''
{{!}} {{{developer}}}
{{!}} {{{developer}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{publisher|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{publisher|}}}|
{{!}} '''Publisher'''
{{!}} '''Publisher'''
{{!}} {{{publisher}}}
{{!}} {{{publisher}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{platforms|}}}|{{!}}- style="vertical-align: top;background: #FFE4E1"
{{#if:{{{platforms|}}}|
{{!}} '''Platforms'''
{{!}} '''Platform(s)'''
{{!}} {{{platforms}}}
{{!}} {{{platforms}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{released|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{release|}}}|
{{!}} '''Release date'''
{{!}} '''Release date'''
{{!}} {{{released}}}
{{!}} {{{release}}}
|}}
{{#if:{{{release2|}}}|{{hide|show=more...|content={{{release2}}}}}}}
|- style="vertical-align: top"
}}
{{#if:{{{genre|}}}|{{!}}- style="vertical-align: top;background: #FFE4E1"
|-
{{#if:{{{end|}}}|
{{!}} '''End of service'''
{{!}} {{{end}}}
}}
|-
{{#if:{{{languages|}}}|
{{!}} '''Language(s)'''
{{!}} {{{languages}}}
}}
|-
{{#if:{{{genre|}}}|
{{!}} '''Genre'''
{{!}} '''Genre'''
{{!}} {{{genre}}}
{{!}} {{{genre}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{ratings|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{ratings|}}}|
{{!}} '''Rating(s)'''
{{!}} '''Rating(s)'''
{{!}} {{{ratings}}}
{{!}} {{{ratings}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{modes|}}}|{{!}}- style="vertical-align: top;background: #FFE4E1"
{{#if:{{{modes|}}}|
{{!}} '''Mode(s)'''
{{!}} '''Mode(s)'''
{{!}} {{{modes}}}
{{!}} {{{modes}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{media|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{media|}}}|
{{!}} '''Media'''
{{!}} '''Media'''
{{!}} {{{media}}}
{{!}} {{{media}}}
|}}
}}
|- style="vertical-align: top"
|-
{{#if:{{{input|}}}|{{!}}- style="vertical-align: top;background: #FFE4E1"
{{#if:{{{cabinet|}}}|
{{!}} '''Cabinet'''
{{!}} {{{cabinet}}}
}}
|-
{{#if:{{{arcade_system|}}}|
{{!}} '''Arcade system'''
{{!}} {{{arcade_system}}}
}}
|-
{{#if:{{{monitor|}}}|
{{!}} '''Monitor'''
{{!}} {{{monitor}}}
}}
|-
{{#if:{{{input|}}}|
{{!}} '''Input'''
{{!}} '''Input'''
{{!}} {{{input}}}
{{!}} {{{input}}}
|}}
}}
|}<noinclude>{{br}}
|-
{{#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 style="background:#FAAAAA"|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 dates in all countries for all platforms, in order from earliest to latest (use {{tem|released}})
| 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=
|The medium used by the system the game is on, whether a cartridge, optical disc, or digital download (use {{tem|media}})
| The product ID(s) assigned to the game.
|-
|-
|&#124;input=
| &#124;gallery=
|What controllers the title supports (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 93: 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=
}}