Template:System infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "|} <pre>" to "|} <pre>")
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:300px;background:ghostwhite;border:1px solid #a88"
{| class="infobox" style="width:300px;background:ghostwhite;border:1px solid #a88"
| colspan="2" style="background:skyblue;text-align:center;font-size:125%" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" style="font-size:125%;background:skyblue" | {{{title|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
{{#if:{{{generation|}}}|{{!}}-style="background:powderblue"
{{#if:{{{generation|}}}|{{!}}- style="background:powderblue"
{{!}}'''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|}}}|{{!}}- style="background:powderblue"
{{!}} '''Discontinued'''
{{!}} '''Discontinued'''
{{!}} {{{discontinued}}}
{{!}} {{{discontinued}}}
Line 23: Line 23:
|}}
|}}
|-
|-
{{#if:{{{predecessor|}}}|{{!}}-style="background:powderblue"
{{#if:{{{predecessor|}}}|{{!}}- style="background:powderblue"
{{!}} '''Predecessor'''
{{!}} '''Predecessor'''
{{!}} {{{predecessor}}}
{{!}} {{{predecessor}}}

Revision as of 20:27, April 19, 2022

System infobox

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title. When this is not desirable (e.g., where there is a "(disambiguation)" tag in the article title), it can be manually specified.
|image= break symbol in image syntax.
|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
|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=
}}