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
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px;background:ghostwhite;border:1px solid #a88"
<includeonly><templatestyles src="System infobox/styles.css"/>
| colspan="2" style="background:skyblue;text-align:center;font-size:125%" | '''{{{title|{{PAGENAME}}}}}'''
{| id="system" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{{Image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{generation|}}}|{{!}}-style="background:powderblue"
{{!}}'''Generation'''
{{!}} {{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}}
|}}
|-
|-
{{#if:{{{Rel|}}}|{{!}}-
{{#if:{{{generation|}}}|
{{!}} '''Released'''
{{!}} '''Generation'''
{{!}} {{{Rel}}}
{{!}} {{wp|{{{generation}}} generation of video game consoles|{{{generation}}} generation}}
|}}
}}
|-
|-
{{#if:{{{Dis|}}}|{{!}}-style="background:powderblue"
{{#if:{{{release|}}}|
{{!}} '''Release date'''
{{!}} {{{release}}}
{{#if:{{{release2|}}}|{{hide|show=more...|content={{{release2}}}}}}}
}}
|-
{{#if:{{{discontinued|}}}|
{{!}} '''Discontinued'''
{{!}} '''Discontinued'''
{{!}} {{{Dis}}}
{{!}} {{{discontinued}}}
|}}
}}
|-
|-
{{#if:{{{ratings|}}}|{{!}}-
{{#if:{{{ratings|}}}|
{{!}} '''Ratings'''
{{!}} '''Ratings'''
{{!}} {{{ratings}}}
{{!}} {{{ratings}}}
|}}
}}
|-
|-
{{#if:{{{Pre|}}}|{{!}}-style="background:powderblue"
{{#if:{{{predecessor|}}}|
{{!}} '''Predecessor'''
{{!}} '''Predecessor'''
{{!}} {{{Pre}}}
{{!}} {{{predecessor}}}
|}}
}}
|-
|-
{{#if:{{{Suc|}}}|{{!}}-
{{#if:{{{successor|}}}|
{{!}} '''Successor'''
{{!}} '''Successor'''
{{!}} {{{Suc}}}
{{!}} {{{successor}}}
|}}
}}
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|}</includeonly><noinclude>{{br}}
==Usage==
{|class=wikitable style="width:80%;float:right;margin:0 0 1em 1em"
!colspan=2|Syntax
|-
|&#124;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.
|-
|&#124;image=
|An image of the console.
|-
|&#124;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").
|-
|&#124;release=
|The release date(s) for the console (use {{tem|release}}). If there are many release dates, <code>release2</code> can be used to add collapsed entries.
|-
|&#124;discontinued=
|The year or specific date when the console was discontinued (add regions if applicable).
|-
|&#124;ratings=
|Ratings of the console (rarely applicable).
|-
|&#124;predecessor=
|The predecessor of the console (if applicable).
|-
|&#124;successor=
|The successor of the console (if applicable).
|}
 
<pre>
{{system infobox
|title=
|image=
|generation=
|release=
|discontinued=
|ratings=
|predecessor=
|successor=
}}
</pre>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 18:05, June 5, 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 {{release}}). 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=
}}