Template:System infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:300px;background:ghostwhite;border-color:#a88"
{| id="system" class="infobox" style="width:300px"
! colspan="2" style="font-size:125%;background:skyblue" | {{{title|{{PAGETITLE}}}}}
! 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"
{{#if:{{{generation|}}}|{{!}}-
{{!}} '''Generation'''
{{!}} '''Generation'''
{{!}} {{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}}
{{!}} {{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}}
Line 13: Line 13:
}}
}}
|-
|-
{{#if:{{{discontinued|}}}|{{!}}- style="background:powderblue"
{{#if:{{{discontinued|}}}|{{!}}-
{{!}} '''Discontinued'''
{{!}} '''Discontinued'''
{{!}} {{{discontinued}}}
{{!}} {{{discontinued}}}
Line 23: Line 23:
}}
}}
|-
|-
{{#if:{{{predecessor|}}}|{{!}}- style="background:powderblue"
{{#if:{{{predecessor|}}}|{{!}}-
{{!}} '''Predecessor'''
{{!}} '''Predecessor'''
{{!}} {{{predecessor}}}
{{!}} {{{predecessor}}}
Line 32: Line 32:
{{!}} {{{successor}}}
{{!}} {{{successor}}}
}}
}}
|}<noinclude>{{br}}
|}<templatestyles src="System infobox/styles.css"/><noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3

Revision as of 07:06, May 4, 2022

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").
|released= 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=
|released=
|discontinued=
|ratings=
|predecessor=
|successor=
}}