Template:Infobox Character: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (24 revisions: Importing history)
m (Text replacement - "class=("?)invert\b([^-])" to "class=$1invert-dark$2")
 
(128 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="width:264px" cellpadding="3"
|-
! colspan="2" style="font-size:110%; text-align:center; background:#eee" | {{{name}}}{{#if:{{{game<includeonly>|</includeonly>}}}|{{#switch:{{lc:{{{game|Xx}}}}}|ssb=<small><br>in ''[[Super Smash Bros.]]''</small>|ssbm|melee=<small><br>in ''[[Super Smash Bros. Melee]]''</small>|ssbb|brawl=<small><br>in ''[[Super Smash Bros. Brawl]]''</small>|ssb4=<small><br>in ''[[Super Smash Bros. 4]]''</small>|ssbu|ultimate=<small><br>in ''[[Super Smash Bros. Ultimate]]''</small>}}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | {{{name}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}}colspan="2" style="text-align:center; background:#fff"{{!}}{{#if:{{{image|}}}|{{{image}}}<br>|}}[[File:{{#switch:{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}
{{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|Animal Crossing=AnimalCrossing
|Banjo-Kazooie=BanjoKazooie
|Donkey Kong=DK
|Dragon Quest=DragonQuest
|Duck Hunt=DuckHunt
|EarthBound=Earthbound
|F-Zero=FZero
|Fatal Fury=FatalFury
|Final Fantasy=FinalFantasy
|Fire Emblem=FireEmblem
|Game & Watch=Game&Watch
|Ice Climber=IceClimber
|Kid Icarus=KidIcarus
|Kingdom Hearts=KingdomHearts
|Mega Man=MegaMan
|Metal Gear=MetalGear
|Pac-Man=PacMan
|Pokémon=Pokemon
|Punch-Out!!=PunchOut
|R.O.B.=ROB
|Sonic the Hedgehog=Sonic
|Star Fox=StarFox
|Street Fighter=StreetFighter
|Super Smash Bros.=SmashBros
|The Legend of Zelda=Zelda
|Wii Fit=WiiFit
|Xenoblade Chronicles=Xenoblade
|{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}
}}Symbol{{#if:{{{symbol|}}}|({{{symbol}}})}}.svg|50px|class=invert-dark]]
{{!}}-
{{!}}-
}}
{{!}}width="45%" style="background:#eee" {{!}}'''[[Universe]]'''
{{#if:{{{universe<includeonly>|</includeonly>}}} |
{{!}}width="55%"{{!}}{{#if:{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}|[[{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}} (universe)|''{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}'']]|{{{universe|none}}}}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Universe]]'''
{{!}}-
{{!}}{{{universe}}}
{{#if:{{{shareslot<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''Shares character slot with'''
{{!}}{{{shareslot}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{games<includeonly>|</includeonly>}}} |
{{#if:{{{games<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Appears in'''
{{!}} style="background:#eee" {{!}}'''Appears in'''
{{!}}{{{games}}}
{{!}}{{{games}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{firstgame<includeonly>|</includeonly>}}} |
{{#if:{{{altform|{{{alt_form<includeonly>|</includeonly>}}}}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Debut'''
{{!}} style="background:#eee" {{!}}'''Alternate form'''
{{!}}{{{firstgame}}}
{{!}}{{#if:{{{altform<includeonly>|</includeonly>}}}|[[{{{altform}}} ({{#switch:{{lc:{{{game|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB}})|{{{altform}}}]]}}{{{alt_form|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{ssbgame1<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''Other playable appearance{{#if:{{{ssbgame2|}}}|s}}'''
{{!}}[[{{{name}}} ({{#switch:{{lc:{{{ssbgame1|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB|ssb4=SSB4|ssbu|ultimate=SSBU}})|in {{#switch:{{lc:{{{ssbgame1|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''|ssb4=''SSB4''|ssbu|ultimate=''Ultimate''}}]]<br>{{#if:{{{ssbgame2<includeonly>|</includeonly>}}}|[[{{{name}}} ({{#switch:{{lc:{{{ssbgame2|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB|ssb4=SSB4|ssbu|ultimate=SSBU}})|in {{#switch:{{lc:{{{ssbgame2|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''|ssb4=''SSB4''|ssbu|ultimate=''Ultimate''}}]]}}<br>{{#if:{{{ssbgame3<includeonly>|</includeonly>}}}|[[{{{name}}} ({{#switch:{{lc:{{{ssbgame3|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB|ssb4=SSB4|ssbu|ultimate=SSBU}})|in {{#switch:{{lc:{{{ssbgame3|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''|ssb4=''SSB4''|ssbu|ultimate=''Ultimate''}}]]}}<br>{{#if:{{{ssbgame4<includeonly>|</includeonly>}}}|[[{{{name}}} ({{#switch:{{lc:{{{ssbgame4|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB|ssb4=SSB4|ssbu|ultimate=SSBU}})|in {{#switch:{{lc:{{{ssbgame4|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''|ssb4=''SSB4''|ssbu|ultimate=''Ultimate''}}]]}}
}}
{{!}}-
{{#if:{{{availability<includeonly>|</includeonly>}}} |
{{#if:{{{availability<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Availability'''
{{!}} style="background:#eee" {{!}}'''Availability'''
{{!}}{{{availability}}}
{{!}}{{{availability}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{tier<includeonly>|</includeonly>}}} |
{{#switch:{{lc:{{{game|Xx}}}}}|ssbb|brawl|ssb4|ssbu|ultimate=
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Tier list|Tier]]'''
{{!}} style="background:#eee" {{!}}'''[[Final Smash]]'''
{{!}}{{{tier}}}{{#if:{{{ranking|}}}|&nbsp;('''{{{ranking}}}''')}}
{{!}}{{Infobox Character/Final Smash|{{{name<includeonly>|</includeonly>}}}|{{lc:{{{game<includeonly>|</includeonly>}}}}}}}
{{!}}-
|}}
{{#if:{{{tier<includeonly>|</includeonly>}}}|
{{!}} style="background:#eee" {{!}}'''[[Tier list|Tier]]'''
{{!}}{{{tier}}}{{#if:{{{ranking|}}}|&nbsp;('''{{{ranking}}}''')}} {{#if:{{{tierPAL|}}}{{{tierJP|}}}|(North America)}}<!--
-->{{#if:{{{tierPAL<includeonly>|</includeonly>}}}|<br>{{{tierPAL}}}{{#if:{{{rankingPAL|}}}|&nbsp;('''{{{rankingPAL}}}''')}} (Europe)}}<!--
-->{{#if:{{{tierJP<includeonly>|</includeonly>}}}|<br>{{{tierJP}}}{{#if:{{{rankingJP|}}}|&nbsp;('''{{{rankingJP}}}''')}} (Japan)}}
{{!}}-
}}
{{#if:{{{l1<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''{{{l1|(customisable label)}}}'''
{{!}}{{{c1|(customisable detail)}}}
{{!}}-
}}
{{#if:{{{l2<includeonly>|</includeonly>}}} |
{{!}} style="background:#eee" {{!}}'''{{{l2|(customisable label)}}}'''
{{!}}{{{c2|(customisable detail)}}}
{{!}}-
{{!}}-
}}
}}
|}<noinclude>
|}
==Usage==
{{#if:{{{game<includeonly>|</includeonly>}}}|<div class="infoboxHead" style="float:right;height:32px;z-index:5000;position:relative;left:272px;top:10px">{{Head|{{{name}}}|g={{#switch:{{lc:{{{game|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB|ssb4=SSB4|ssbu|ultimate=SSBU}}|s={{#switch:{{lc:{{{game|Xx}}}}}|ssb4|4|ssbu|ultimate=32x32px|#default=}}}}</div>}}<noinclude>{{Documentation}}
<pre>{{Infobox Character
|name         =  
|image        =  
|caption      =  
|universe    =  
|games        =  
|firstgame    =  
|availability =  
|tier        =  
|ranking      =  
}}</pre>
 
All fields other than "name" are optional. This template should only be used in articles about characters' appearances in games, like [[Mario (SSBB)]], [[Luigi (SSBB)]], [[Bowser (SSBB)]], etc., not the articles that give general info about them.
 
[[Category:Infobox templates|Character]]</noinclude>
[[Category:Infobox templates|Character]]</noinclude>

Latest revision as of 13:23, May 20, 2024

{{{name}}}
Symbol.svg
Universe none
Shares character slot with {{{shareslot}}}
Appears in {{{games}}}
Alternate form [[{{{altform}}} ()|{{{altform}}}]]
Other playable appearance [[{{{name}}} ()|in ]]
[[{{{name}}} ()|in ]]
[[{{{name}}} ()|in ]]
[[{{{name}}} ()|in ]]
Availability {{{availability}}}
Tier {{{tier}}}
{{{tierPAL}}} (Europe)
{{{tierJP}}} (Japan)
(customisable label) (customisable detail)
(customisable label) (customisable detail)
[[File:{{{name}}}Head.png|link={{{name}}}]]

All fields other than "name" and "game" are optional. This template should only be used in articles about characters' appearances in games, like Mario (SSBB), Luigi (SSBB), Bowser (SSBB), etc., not the articles that give general info about them - use {{Infobox Character General}} for those.

Usage

{{Infobox Character
|name=
|image=
|symbol=Put "preBrawl" or "preUltimate" in here to display the older universe symbol
|altform=For Zelda/Sheik in Melee & Brawl and Samus/Zero Suit Samus in Brawl
|shareslot=For Pokémon Trainer and his Pokémon & Pyra and Mythra
|game=Game under discussion - use ssb *or* ssbm *or* ssbb *or* ssb4 *or* ssbu
|ssbgame1=Other Smash Bros game the character appeared in - use ssb *or* ssbm *or* ssbb *or* ssb4 *or* ssbu
|ssbgame2=Other Smash Bros game the character appeared in - use ssb *or* ssbm *or* ssbb *or* ssb4 *or* ssbu
|ssbgame3=Other Smash Bros game the character appeared in - use ssb *or* ssbm *or* ssbb *or* ssb4 *or* ssbu
|ssbgame4=Other Smash Bros game the character appeared in - use ssb *or* ssbm *or* ssbb *or* ssb4 *or* ssbu
|availability=Starter/Unlockable/Downloadable
|tier=see Tier List
|tierPAL=Tier List for the PAL region
|tierJP=Tier List for the NTSC-J region
|ranking=see Tier List
|rankingPAL=Ranking for the PAL region
|rankingJP=Ranking for the NTSC-J region
|l1= |c1=
}}
(Transcluded documentation: view)