Template:System infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(logo)
mNo edit summary
 
(60 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<table class="infobox" cellpadding=2 cellspacing=2 align=right width=240px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #a88; color:black">
<includeonly><templatestyles src="System infobox/styles.css"/>
<tr><td align="center" colspan="2" bgcolor="skyblue" style="font-size:110%;">
{| id="system" class="infobox" style="width:300px"
{{#if:{{{logo|}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|[[{{{logo}}}]]
|-
|'''{{{title|{{PAGENAME}}}}}'''
| colspan="2" style="text-align:center" | {{{image|}}}
|-
{{#if:{{{generation|}}}|
{{!}} '''Generation'''
{{!}} {{wp|{{{generation}}} generation of video game consoles|{{{generation}}} generation}}
}}
}}
</td>
|-
</tr>
{{#if:{{{release|}}}|
 
{{!}} '''Release date'''
<tr>
{{!}} {{date|{{{release}}}}}
<td align="center" colspan="2">{{{Image|}}}</td>
{{#if:{{{release2|}}}|{{hide|show=more...|content={{date|{{{release2}}}}}}}}}
</tr><tr style=background:powderblue>
}}
<td>'''Released'''</td>
|-
<td>{{{Rel|}}}</td>
{{#if:{{{discontinued|}}}|
</tr>
{{!}} '''Discontinued'''
 
{{!}} {{date|{{{discontinued}}}}}
<tr>
}}
<td>'''Discontinued'''</td>
|-
<td>{{{Dis|}}}</td>
</tr>
 
{{#if:{{{ratings|}}}|
{{#if:{{{ratings|}}}|
<tr style=background:powderblue>
{{!}} '''Ratings'''
<td>'''Ratings'''</td>
{{!}} {{{ratings}}}
<td>{{{ratings}}}</td>
}}
</tr>
|-
{{#if:{{{predecessor|}}}|
{{!}} '''Predecessor'''
{{!}} {{{predecessor}}}
}}
}}
|-
{{#if:{{{successor|}}}|
{{!}} '''Successor'''
{{!}} {{{successor}}}
}}
|}</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|flag list}}). If there are many release dates, <code>release2</code> can be used to add collapsed entries.
|-
|style="white-space:nowrap"|&#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).
|}


<tr {{#if:{{{ratings|}}}||style=background:powderblue}}>
<pre>
<td>'''Predecessor'''</td>
{{system infobox
<td>{{{Pre|}}}</td>
|title=
</tr>
|image=
|generation=
|release=
|discontinued=
|ratings=
|predecessor=
|successor=
}}
</pre>


<tr {{#if:{{{ratings|}}}|style=background:powderblue}}>
[[Category:Infobox templates]]</noinclude>
<td>'''Successor'''</td>
<td>{{{Suc|}}}</td>
</tr>
 
{{#if:{{{slogan|}}}|
<tr {{#if:{{{ratings|}}}||style=background:powderblue}}>
<td>'''Slogan'''</td>
<td>{{{slogan}}}</td>
</tr>
}}
</table><noinclude>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>

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