Template:System infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "110%" to "125%")
mNo edit summary
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table class="infobox" style="width:240px;background:ghostwhite;border:1px solid #a88">
{| id="system" class="infobox" style="width:300px"
<tr><td align="center" colspan="2" bgcolor="skyblue" style="font-size:125%">'''{{{title|{{PAGENAME}}}}}'''</td></tr>
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
<tr><td align="center" colspan="2">{{{Image|}}}</td></tr>
|-
| colspan="2" style="text-align:center" | {{{image|}}}
|-
{{#if:{{{generation|}}}|
{{#if:{{{generation|}}}|
<tr style="background:powderblue">
{{!}} '''Generation'''
<td>'''Generation'''</td>
{{!}} {{wp|{{{generation}}} generation of video game consoles|{{{generation}}} generation}}
<td>{{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}}</td>
}}
</tr>}}{{#if:{{{Rel|}}}|
|-
<tr>
{{#if:{{{release|}}}|
<td>'''Released'''</td>
{{!}} '''Release date'''
<td>{{{Rel|}}}</td>
{{!}} {{{release}}}
</tr>}}{{#if:{{{Dis|}}}|
{{#if:{{{release2|}}}|{{hide|show=more...|content={{{release2}}}}}}}
<tr style="background:powderblue">
}}
<td>'''Discontinued'''</td>
|-
<td>{{{Dis|}}}</td>
{{#if:{{{discontinued|}}}|
</tr>}}{{#if:{{{ratings|}}}|
{{!}} '''Discontinued'''
<tr>
{{!}} {{{discontinued}}}
<td>'''Ratings'''</td>
}}
<td>{{{ratings}}}</td>
|-
</tr>}}{{#if:{{{Pre|}}}|
{{#if:{{{ratings|}}}|
<tr {{#if:{{{ratings|}}}|style="background:powderblue"}}>
{{!}} '''Ratings'''
<td>'''Predecessor'''</td>
{{!}} {{{ratings}}}
<td>{{{Pre|}}}</td>
}}
</tr>}}{{#if:{{{Suc|}}}|
|-
<tr {{#if:{{{ratings|}}}||style="background:powderblue"}}>
{{#if:{{{predecessor|}}}|
<td>'''Successor'''</td>
{{!}} '''Predecessor'''
<td>{{{Suc|}}}</td>
{{!}} {{{predecessor}}}
</tr>}}</table><noinclude>[[Category:Infobox templates]]</noinclude>
}}
|-
{{#if:{{{successor|}}}|
{{!}} '''Successor'''
{{!}} {{{successor}}}
}}
|}<templatestyles src="System infobox/styles.css"/><noinclude>{{br}}
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
!colspan=2 style="background:skyblue"|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}}).
|-
|&#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>

Latest revision as of 17:14, January 11, 2024

System infobox

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