Template:Infobox Character: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
(Removating this to be genuinely game-specific...)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
|-  
|-  
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | {{{name}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | {{{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>}}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}}colspan="2" style="text-align:center;background-color:#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}}}}}
|F-Zero=FZero
|Pokémon=Pokemon
|Donkey Kong=DK
|Star Fox=StarFox
|The Legend of Zelda=Zelda
|Ice Climber=IceClimbers
|Fire Emblem=FireEmblem
|EarthBound=Earthbound
|Game & Watch=Game&Watch
|Kid Icarus=KidIcarus
|R.O.B.=ROB
|Metal Gear=MetalGear
|{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}
}}Symbol.png|50px]]
{{!}}-
{{!}}width="45%" style="background-color:#EEE; color:#000;" {{!}}'''[[Universe]]'''
{{!}}width="55%"{{!}}[[{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}} (universe)|''{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}'']]
{{!}}-
{{#if:{{{altform<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Alternate form'''
{{!}}{{{altform}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{universe<includeonly>|</includeonly>}}} |
{{#if:{{{shareslot<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Universe]]'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Shares character slot with'''
{{!}}{{{universe}}}
{{!}}{{{shareslot}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{game1|{{{appearance|{{{appearances|{{{games<includeonly>|</includeonly>}}}}}}}}}}}} |
{{#if:{{{games<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Appears in'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Appears in'''
{{!}}{{#if:{{{game2|}}}
{{!}}{{{games}}}
|{{G|{{{game1|}}} }}<br>{{G|{{{game2|}}} }}{{#if:{{{game3|}}}|<br>{{G|{{{game3|}}}}}}}
|{{#if:{{{game1|}}}|{{G|{{{game1|}}} }}|{{{appearances|{{{game|{{{appearance|{{{games}}} }}} }}} }}}
}} }}}}
{{!}}-
{{!}}-
{{#if:{{{firstgame<includeonly>|</includeonly>}}} |
}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Debut'''
{{#if:{{{ssbgame1<includeonly>|</includeonly>}}} |
{{!}}{{{firstgame}}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Other ''Smash Bros.'' appearance{{#if:{{{ssbgame2|}}}|s}}'''
{{!}}[[{{{name}}} ({{#switch:{{lc:{{{ssbgame1|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB}})|in {{#switch:{{lc:{{{ssbgame1|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''}}]]<br>{{#if:{{{ssbgame2<includeonly>|</includeonly>}}}|[[{{{name}}} ({{#switch:{{lc:{{{ssbgame2|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB}})|in {{#switch:{{lc:{{{ssbgame2|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''}}]]}}
}}
{{!}}-
{{!}}-
}}
{{#if:{{{availability<includeonly>|</includeonly>}}} |
{{#if:{{{availability<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Availability'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Availability'''
Line 33: Line 51:
{{!}}{{{tier}}}{{#if:{{{ranking|}}}|&nbsp;('''{{{ranking}}}''')}}
{{!}}{{{tier}}}{{#if:{{{ranking|}}}|&nbsp;('''{{{ranking}}}''')}}
{{!}}-
{{!}}-
{{#if:{{{l1<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''{{{l1|(customisable label)}}}'''
{{!}}{{{c1|(customisable detail)}}}
{{!}}-
}}
{{#if:{{{l2<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''{{{l2|(customisable label)}}}'''
{{!}}{{{c2|(customisable detail)}}}
{{!}}-
}}
}}
}}
|}<noinclude>
|}
==Usage==
{{#if:{{{game<includeonly>|</includeonly>}}}|<div style="float:right;height:32px;z-index:5000;position:relative;left:272px;top:10px">[[File:{{#switch:{{lc:{{{name|Xx}}}}}|
<pre>{{Infobox Character
|donkey kong=DK
|name        =  
|captain falcon=CFalcon
|image        =  
|dr. mario=DrMario
|caption      =  
|r.o.b.=ROB
|universe    =  
|young link=YoungLink
|game1        = ssb *or* melee *or* Brawl
|toon link=ToonLink
|game2        = ssb *or* melee *or* Brawl
|ice climbers=IceClimbers
|game3        = ssb *or* melee *or* Brawl
|meta knight=MetaKnight
|firstgame    =  
|mr. game & watch=GW
|availability =  
|diddy kong=Diddy
|tier        =  
|king dedede=Dedede
|ranking      =  
|zero suit samus=ZSS
}}</pre>
|pokémon trainer=PT
 
|{{{name}}}
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.
}}Head{{#switch:{{lc:{{{game|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB}}.png]]</div>}}<noinclude>{{Documentation}}
 
[[Category:Infobox templates|Character]]</noinclude>
[[Category:Infobox templates|Character]]</noinclude>

Revision as of 16:07, February 12, 2011

{{{name}}}
File:Symbol.png
Universe '
Alternate form {{{altform}}}
Shares character slot with {{{shareslot}}}
Appears in {{{games}}}
Other Smash Bros. appearance [[{{{name}}} ()|in ]]
[[{{{name}}} ()|in ]]
Availability {{{availability}}}
Tier {{{tier}}}
(customisable label) (customisable detail)
(customisable label) (customisable detail)
[[File:{{{name}}}Head.png]]

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)