Difference between revisions of "Template:Infobox System"

From Nookipedia, the Animal Crossing wiki
(Adding infobox class to enable styling)
(Update to new infobox)
Line 1: Line 1:
{| class="infobox" align="right" style="background: #cd853f; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #8b4513; width: 25%"
+
{{Infobox 2.0
|- align="center"
+
| title          = {{#if:{{{logo|}}}|{{{logo}}}|{{{name|{{PAGENAME}}}}}}}
| colspan="2" | <big><big>'''{{#if:{{{logo|}}}|{{{logo}}}|{{{title|{{PAGENAME}}}}}}}'''</big></big>
+
| primarycolor  = 0 0
|- align="center"
+
| subtitlebelow  = {{#if: {{{color|}}}|Available colors:<br>{{{color|}}}|}}
| style="background: #FFFFFF; {{roundy|10px}}" colspan="2" | {{#if:{{{image|}}}|{{{image|{{{imagesize|200px}}}}}}|Have an image of this console?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
+
 
|- align="center"
+
| image          = {{#if:{{{image|}}}|{{{image|}}}|[[File:nia.png]]<br>Have an image of this console?<br>Then please '''[[Special:Upload|upload]]''' it!}}
| colspan="2" style="background: #cd853f;|<div style="background: #FFFFFF; {{roundy|10px}}; width:90%;">Available colors:{{{colors| None}}}</div>
+
| caption        = {{{caption|}}}
|-
+
| image2        = {{{image2|}}}
! style="background: #a0522d; {{roundytl|10px}}" align="right" | Manufacturer
+
| caption2      = {{{caption2|}}}
| style="background:#ffffff; {{roundytr|10px}}" align="left" | {{{manufacturer|Unknown}}}
+
 
|- valign="top"
+
| label          = Manufacturer
{{#if:{{{type|}}}|
+
| data          = {{{manufacturer|}}}
{{!-}}
+
| label2        = Type
! style="background: #a0522d" align="right" {{!}} Type
+
| data2          = {{{type|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{type|}}}}}
+
| label3        = Release date(s)
|- valign="top"
+
| data3          = {{{released|}}}
{{#if:{{{released|}}}|
+
| label4        = Media
{{!-}}
+
| data4          = {{{media|}}}
! style="background: #a0522d" align="right" {{!}} Released
+
| label5        = Input
{{!}} style="background:#ffffff" align="left" {{!}} {{{released|}}}}}
+
| data5          = {{{input|}}}
|- valign="top"
+
| label6        = Predecessor
{{#if:{{{media|}}}|
+
| data6          = {{{predecessor|}}}
{{!-}}
+
| label7        = Successor
! style="background: #a0522d" align="right" {{!}} Media
+
| data7          = {{{successor|}}}
{{!}} style="background:#ffffff" align="left" {{!}} {{{media|}}}}}
+
}}<noinclude>{{Documentation}}[[Category:Infobox templates]]</noinclude>
|- valign="top"
 
{{#if:{{{input|}}}|
 
{{!-}}
 
! style="background: #a0522d" align="right" {{!}} Input
 
{{!}} style="background:#ffffff" align="left" {{!}} {{{input|}}}}}
 
|-
 
! style="background: #a0522d;" align="right" | Predecessor
 
| style="background:#ffffff;" align="left" | {{{predecessor|None}}}
 
|-
 
! style="background: #a0522d; {{roundybl|10px}}" align="right" | Successor
 
| style="background:#ffffff; {{roundybr|10px}}" align="left" | {{{successor|None}}}
 
|}<noinclude><pre>
 
{{Infobox System
 
|name=
 
|logo=
 
|logosize=
 
|image=
 
|imagesize=
 
|caption=
 
|color=
 
|manufacturer=
 
|type=
 
|released=
 
|media=
 
|input=
 
|predecessor=
 
|successor=
 
}}</pre>[[Category:Infobox templates]]</noinclude>
 

Revision as of 16:08, July 20, 2020

Nia.png
Have an image of this console?
Then please upload it!

Template documentation (view)


Usage

{{Infobox System
 | name         = 
 | logo         =  
 | image        = 
 | caption      = 
 | color        = 
 | manufacturer = 
 | type         = 
 | released     = 
 | discontinued =
 | media        = 
 | input        = 
 | predecessor  = 
 | successor    = 
}}

This infobox is intended for articles about Nintendo video game systems.

Example

{{Infobox System
 | name         = Nintendo Switch
 | logo         = [[File:NinSwitchLogo.png|100px]]
 | image        = [[File:Nintendo Switch.png|200px]]<br>[[File:Nintendo Switch handheld.jpg|200px]]
 | caption      = Upper image: Nintendo Switch docked and Joy-Cons<br>Lower image: Handheld mode
 | colors       = <br>{{(!}} background="transparent"
{{!}} {{ColorSwatch|696969}}
{{!)}}
 | manufacturer = [[Nintendo]]
 | type         = Home Console/Handheld hybrid
 | released     = {{Flag|WLD}} March 3, 2017
 | media        = Game Cartridge, Digital Download
 | input        = JoyCon, Pro Controller, RingCon
 | predecessor  = [[Wii U]]
}}
Nintendo Switch.png
Nintendo Switch handheld.jpg
Upper image: Nintendo Switch docked and Joy-Cons
Lower image: Handheld mode
Manufacturer Nintendo
Type Home Console/Handheld hybrid
Release date(s) Worldwide March 3, 2017
Media Game Cartridge, Digital Download
Input JoyCon, Pro Controller, RingCon
Predecessor Wii U