Template:System infobox: Difference between revisions
mNo edit summary |
No edit summary |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width:300px | <includeonly><templatestyles src="System infobox/styles.css"/> | ||
! colspan="2" style="font-size:125% | {| id="system" class="infobox" style="width:300px" | ||
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}| | ||
{{#if:{{{generation|}}}| | {{!}} colspan="2" style="text-align:center" {{!}} {{{image}}} | ||
}} | |||
|- | |||
{{#if:{{{generation|}}}| | |||
{{!}} '''Generation''' | {{!}} '''Generation''' | ||
{{!}} {{wp|{{{generation|}}} generation of video game consoles|{{{generation|}}} generation}} | {{!}} {{#switch:{{{generation}}}|Second|second|2={{wp|Second generation of video game consoles|Second generation}}|Third|third|3={{wp|Third generation of video game consoles|Third generation}}|Fourth|fourth|4={{wp|Fourth generation of video game consoles|Fourth generation}}|Fifth|fifth|5={{wp|Fifth generation of video game consoles|Fifth generation}}|Sixth|sixth|6={{wp|Sixth generation of video game consoles|Sixth generation}}|Seventh|seventh|7={{wp|Seventh generation of video game consoles|Seventh generation}}|Eighth|eighth|8={{wp|Eighth generation of video game consoles|Eighth generation}}|Ninth|ninth|9={{wp|Ninth generation of video game consoles|Ninth generation}}|#default={{{generation}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{release|}}}| | ||
{{!}} '''Release date''' | {{!}} '''Release date''' | ||
{{!}} {{{ | {{!}} {{date|{{{release}}}}} | ||
{{#if:{{{release2|}}}|{{hide|show=expand|hide=collapse|content={{date|{{{release2}}}}}}}}} | |||
}} | }} | ||
|- | |- | ||
{{#if:{{{discontinued|}}}| | {{#if:{{{discontinued|}}}| | ||
{{!}} '''Discontinued''' | {{!}} '''Discontinued''' | ||
{{!}} {{{discontinued}}} | {{!}} {{date|{{{discontinued}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{ratings|}}}| | {{#if:{{{ratings|}}}| | ||
{{!}} '''Ratings''' | {{!}} '''Ratings''' | ||
{{!}} {{{ratings}}} | {{!}} {{{ratings}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{predecessor|}}}| | {{#if:{{{predecessor|}}}| | ||
{{!}} '''Predecessor''' | {{!}} '''Predecessor''' | ||
{{!}} {{{predecessor}}} | {{!}} {{{predecessor}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{successor|}}}| | {{#if:{{{successor|}}}| | ||
{{!}} '''Successor''' | {{!}} '''Successor''' | ||
{{!}} {{{successor}}} | {{!}} {{{successor}}} | ||
}} | }} | ||
|}<noinclude>{{br}} | |}</includeonly><noinclude>{{br}} | ||
==Usage== | ==Usage== | ||
{| | {|class="wikitable floatright console" style="width:75%" | ||
!colspan=2 | !colspan=2|Syntax | ||
|- | |- | ||
||title= | |width=8%|<code>|title=</code> | ||
|By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified. | |width=24%|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= | |width=8%|<code>|image=</code> | ||
|An image of the console. | |width=24%|An image of the console. | ||
|- | |- | ||
||generation= | |width=8%|<code>|generation=</code> | ||
|The era when the console was released. | |width=24%|The era when the console was released. Optionally, ordinal number can be input in letter form so that the output links to a Wikipedia article on the corresponding generation (e.g. "First," "Third," "Fifth"). | ||
|- | |- | ||
|| | |width=8%|<code>|release=</code> | ||
|The release date(s) for the console (use {{tem| | |width=24%|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. | ||
|- | |- | ||
||discontinued= | |style="width:8%"|<code>|discontinued=</code> | ||
|The year or specific date when the console was discontinued (add regions if applicable). | |width=24%|The year or specific date when the console was discontinued (add regions if applicable). | ||
|- | |- | ||
||ratings= | |width=8%|<code>|ratings=</code> | ||
|Ratings of the console (rarely applicable). | |width=24%|Ratings of the console (rarely applicable). | ||
|- | |- | ||
||predecessor= | |width=8%|<code>|predecessor=</code> | ||
|The predecessor of the console (if applicable). | |width=24%|The predecessor of the console (if applicable). | ||
|- | |- | ||
||successor= | |width=8%|<code>|successor=</code> | ||
|The successor of the console (if applicable). | |width=24%|The successor of the console (if applicable). | ||
|} | |} | ||
Line 67: | Line 72: | ||
|image= | |image= | ||
|generation= | |generation= | ||
| | |release= | ||
|discontinued= | |discontinued= | ||
|ratings= | |ratings= |
Latest revision as of 11:20, April 11, 2025
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. Optionally, ordinal number can be input in letter form so that the output links to a Wikipedia article on the corresponding generation (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= }}