Template:Infobox Character Mod: Difference between revisions

Fixing some issues
(Remind me to never edit infoboxes again (added parameters for moveset inspiration))
(Fixing some issues)
Line 1: Line 1:
<noinclude>
{{Infobox Character Mod
|name        = Mario
|image        = [[File:SJS mario.png]]
|mod          = Project M
|base        = ssbb
|altcostume  = [[Dr. Mario]]
|tier        = A+
|ranking      = 42
|moveset1    = Mario (SSBM)
|moveset2    = Dr. Mario (SSBM)
|moveset3    = Tabuu
}}
</noinclude>
<includeonly>
{| 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}}}]]<br><small>in [[{{{mod}}}]]</small>
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | [[{{{name}}}]]<br><small>in [[{{{mod}}}]]</small>
|-
|-
{{!}}colspan="2" style="text-align:center;background-color:#FFF;"{{!}}{{#if:{{{image|}}}|{{{image}}}<br>|}}[[Image:{{#switch:{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}
{{!}}colspan="2" style="text-align:center;background-color:#FFF;"{{!}}{{#if:{{{image|}}}|{{{image}}}<br>|}}[[Image:{{#switch:{{Infobox Character/universe|{{{name|}}}}}
|F-Zero=FZero
|F-Zero=FZero
|Pokémon=Pokemon
|Pokémon=Pokemon
Line 19: Line 35:
|Mega Man=MegaMan
|Mega Man=MegaMan
|Wii Fit=WiiFit
|Wii Fit=WiiFit
|{{Infobox Character/universe|{{{name<includeonly>|</includeonly>}}}}}
|{{Infobox Character/universe|{{{name|}}}}}
}}Symbol{{#if:{{{symbol|}}}|({{{symbol}}})}}.png|50px]]
}}Symbol{{#if:{{{symbol|}}}|({{{symbol}}})}}.png|50px]]
|-
|-
Line 25: Line 41:
|[[{{{name}}} ({{#switch:{{lc:{{{base|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB}})|in {{#switch:{{lc:{{{base|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''}}]]
|[[{{{name}}} ({{#switch:{{lc:{{{base|Xx}}}}}|ssb=SSB|ssbm|melee=SSBM|ssbb|brawl=SSBB}})|in {{#switch:{{lc:{{{base|Xx}}}}}|ssb=''SSB''|ssbm|melee=''Melee''|ssbb|brawl=''Brawl''}}]]
{{!}}-
{{!}}-
{{#if:{{{moveset1<includeonly>|</includeonly>}}} |
{{#if:{{{moveset1|}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Moveset inspiration'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Moveset inspiration'''
{{!}}[[{{{moveset1}}}]]
{{!}} [[{{{moveset1}}}]]{{#if:{{{moveset2|}}}|, [[{{{moveset2}}}]]}}{{#if:{{{moveset3|}}}|, [[{{{moveset3}}}]]}}
{{#if:{{moveset2<includeonly|</includeonly/}}} | , [[{{{moveset2}}}]]}}
{{#if:{{moveset3<includeonly|</includeonly/}}} | , [[{{{moveset3}}}]]}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{altcostume<includeonly>|</includeonly>}}} |
{{#if:{{{altcostume|}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Alternate costume'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Alternate costume'''
{{!}}{{{altcostume}}}
{{!}}{{{altcostume}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{tier<includeonly>|</includeonly>}}} |
{{#if:{{{tier|}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Tier list|Tier]]'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''[[Tier list|Tier]]'''
{{!}}{{{tier}}}{{#if:{{{ranking|}}}|&nbsp;('''{{{ranking}}}''')}}
{{!}}{{{tier}}}{{#if:{{{ranking|}}}|&nbsp;('''{{{ranking}}}''')}}
{{!}}-
{{!}}-
{{#if:{{{l1<includeonly>|</includeonly>}}} |
{{#if:{{{l1|}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''{{{l1|(customisable label)}}}'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''{{{l1|(customisable label)}}}'''
{{!}}{{{c1|(customisable detail)}}}
{{!}}{{{c1|(customisable detail)}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{l2<includeonly>|</includeonly>}}} |
{{#if:{{{l2|}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''{{{l2|(customisable label)}}}'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''{{{l2|(customisable label)}}}'''
{{!}}{{{c2|(customisable detail)}}}
{{!}}{{{c2|(customisable detail)}}}
Line 53: Line 67:
}}
}}
|}
|}
</includeonly>
<noinclude>[[Category:Infobox templates|Character Mod]]</noinclude>
<noinclude>[[Category:Infobox templates|Character Mod]]</noinclude>
317

edits