Template:Game infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
(This could do with some form of discussion first) Tag: Manual revert |
||
(115 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
{| | <includeonly><templatestyles src="Game infobox/styles.css"/> | ||
| | {| id="game" class="infobox" style="width:300px" | ||
! 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]].}} | |||
|- | |- | ||
{{#if:{{{developer|}}}| | {{#if:{{{developer|}}}| | ||
{{!}}'''Developer | {{!}} '''Developer''' | ||
{{!}}{{{developer}}} | {{!}} {{{developer}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{publisher|}}}| | {{#if:{{{publisher|}}}| | ||
{{!}}'''Publisher | {{!}} '''Publisher''' | ||
{{!}}{{{publisher}}} | {{!}} {{{publisher}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{platforms|}}}| | {{#if:{{{platforms|}}}| | ||
{{!}}'''Platform(s)''' | {{!}} '''Platform(s)''' | ||
{{!}}{{{platforms}}} | {{!}} {{{platforms}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{release|}}}| | ||
{{!}}'''Release date''' | {{!}} '''Release date''' | ||
{{!}}{{{ | {{!}} {{date|{{{release}}}}} | ||
{{#if:{{{release2|}}}|{{hide|show=expand|hide=collapse|content={{date|{{{release2}}}}}}}}} | |||
}} | }} | ||
|- | |- | ||
{{#if:{{{end|}}}| | |||
{{!}} '''End of service''' | |||
{{!}} {{date|{{{end}}}}} | |||
}} | |||
|- | |||
{{#if:{{{languages|}}}| | |||
{{!}} '''Language(s)''' | |||
{{!}} {{{languages}}} | |||
}} | |||
|- | |||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
{{!}}''' | {{!}} '''Genre''' | ||
{{!}}{{{genre}}} | {{!}} {{{genre}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ratings|}}}| | {{#if:{{{ratings|}}}| | ||
{{!}}'''Rating(s)''' | {{!}} '''Rating(s)''' | ||
{{!}}{{{ratings}}} | {{!}} {{{ratings}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{modes|}}}| | {{#if:{{{modes|}}}| | ||
{{!}}'''Mode(s)''' | {{!}} '''Mode(s)''' | ||
{{!}}{{{modes}}} | {{!}} {{{modes}}} | ||
}} | |||
|- | |||
{{#if:{{{format|}}}| | |||
{{!}} '''Format''' | |||
{{!}} {{{format}}} | |||
}} | |||
|- | |||
{{#if:{{{cabinet|}}}| | |||
{{!}} '''Cabinet''' | |||
{{!}} {{{cabinet}}} | |||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{arcade_system|}}}| | ||
{{!}}''' | {{!}} '''Arcade system''' | ||
{{!}}{{{ | {{!}} {{{arcade_system}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{monitor|}}}| | |||
{{!}} '''Monitor''' | |||
{{!}} {{{monitor}}} | |||
}} | |||
|- | |||
{{#if:{{{input|}}}| | {{#if:{{{input|}}}| | ||
{{!}}'''Input''' | {{!}} '''Input''' | ||
{{!}}{{{input}}} | {{!}} {{{input}}} | ||
}} | |||
|- | |||
{{#if:{{{serials|}}}| | |||
{{!}} '''Serial code(s)''' | |||
{{!}} {{{serials}}} | |||
}} | |||
|}</includeonly><noinclude> | |||
{{game infobox | |||
|image=[[File:No image.png|frameless|upright=1.4|]] | |||
|developer=Lorem ipsum | |||
|publisher=Lorem ipsum | |||
|platforms=Lorem ipsum | |||
|release='''<nowiki>{{</nowiki>'''flag list'''<nowiki>}}</nowiki>''' | |||
|end=Lorem ipsum | |||
|languages='''<nowiki>{{</nowiki>'''languages'''<nowiki>}}</nowiki>''' | |||
|genre=Lorem ipsum | |||
|ratings='''<nowiki>{{</nowiki>'''ratings'''<nowiki>}}</nowiki>''' | |||
|modes=Lorem ipsum | |||
|format='''<nowiki>{{</nowiki>'''format'''<nowiki>}}</nowiki>''' | |||
|cabinet=Lorem ipsum | |||
|arcade_system=Lorem ipsum | |||
|monitor=Lorem ipsum | |||
|input='''<nowiki>{{</nowiki>'''input'''<nowiki>}}</nowiki>''' | |||
|serials='''<nowiki>{{</nowiki>'''flag list'''<nowiki>}}</nowiki>''' | |||
}} | |||
{{br}} | |||
==Usage== | |||
{| class=wikitable style="float:right;width:70%;margin:0 0 1em 1em" | |||
!colspan=2|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 [[MarioWiki:Naming|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 {{tem|flag list}}). If there are many release dates, <code>release2</code> 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 {{tem|languages}}). | |||
|- | |||
| |genre= | |||
| What genre the game is in (see [[genre]] for a full list of genres). | |||
|- | |||
| |ratings= | |||
| Official age ratings of the game (use {{tem|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 {{tem|format}}). | |||
|- | |||
| |cabinet= | |||
| Cabinet type (use for arcade games only). | |||
|- | |||
| style="white-space:nowrap" | |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 {{tem|input}}). | |||
|- | |||
| |serials= | |||
| The product serial code(s) assigned to the game (use {{tem|flag list}}). | |||
|- | |||
| |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={{flag list}} | |||
|end= | |||
|languages={{languages}} | |||
|genre= | |||
|ratings={{ratings}} | |||
|modes= | |||
|format={{format}} | |||
|cabinet= | |||
|arcade_system= | |||
|monitor= | |||
|input={{input}} | |||
|serials={{flag list}} | |||
}} | }} | ||
</pre> | |||
[[Category:Infobox | |||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 12:29, March 24, 2025
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 {{flag list}}). 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 {{flag list}}). |
|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={{flag list}} |end= |languages={{languages}} |genre= |ratings={{ratings}} |modes= |format={{format}} |cabinet= |arcade_system= |monitor= |input={{input}} |serials={{flag list}} }}