Template:System infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="System infobox/styles.css"/>
{| id="system" class="infobox" style="width:300px"
{| id="system" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
Line 11: Line 12:
{{#if:{{{release|}}}|
{{#if:{{{release|}}}|
{{!}} '''Release date'''
{{!}} '''Release date'''
{{!}} {{{release}}}
{{!}} {{date|{{{release}}}}}
{{#if:{{{release2|}}}|{{hide|show=more...|content={{{release2}}}}}}}
{{#if:{{{release2|}}}|{{hide|show=more...|content={{date|{{{release2}}}}}}}}}
}}
}}
|-
|-
{{#if:{{{discontinued|}}}|
{{#if:{{{discontinued|}}}|
{{!}} '''Discontinued'''
{{!}} '''Discontinued'''
{{!}} {{{discontinued}}}
{{!}} {{date|{{{discontinued}}}}}
}}
}}
|-
|-
Line 34: Line 35:
{{!}} {{{successor}}}
{{!}} {{{successor}}}
}}
}}
|}<templatestyles src="System infobox/styles.css"/><noinclude>{{br}}
|}</includeonly><noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
{|class=wikitable style="width:80%;float:right;margin:0 0 1em 1em"
!colspan=2 style="background:skyblue"|Syntax
!colspan=2|Syntax
|-
|-
|&#124;title=
|&#124;title=
Line 49: Line 50:
|-
|-
|&#124;release=
|&#124;release=
|The release date(s) for the console (use {{tem|release}}).
|The release date(s) for the console (use {{tem|flag list}}). If there are many release dates, <code>release2</code> can be used to add collapsed entries.
|-
|-
|&#124;discontinued=
|style="white-space:nowrap"|&#124;discontinued=
|The year or specific date when the console was discontinued (add regions if applicable).
|The year or specific date when the console was discontinued (add regions if applicable).
|-
|-

Latest revision as of 10:36, November 17, 2024

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|image= An image of the console.
|generation= The era when the console was released. The output links to a Wikipedia article on the corresponding generation, so only the ordinal number must be input in letter form (e.g. "First," "Third," "Fifth").
|release= The release date(s) for the console (use {{flag list}}). If there are many release dates, release2 can be used to add collapsed entries.
|discontinued= The year or specific date when the console was discontinued (add regions if applicable).
|ratings= Ratings of the console (rarely applicable).
|predecessor= The predecessor of the console (if applicable).
|successor= The successor of the console (if applicable).
{{system infobox
|title=
|image=
|generation=
|release=
|discontinued=
|ratings=
|predecessor=
|successor=
}}