Welcome to our new Skyland! Article rewrites are welcome. If you see any missing images, please feel free to add them. Please use the Aboutfile template when uploading and add categories.
We are also aware of some articles being unavailable. Please bear with us while we are working to get them fixed.

Template:Characterbox: Difference between revisions

From Skylanders Wiki
Aura24 (talk | contribs)
No edit summary
No edit summary
 
(135 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{|style=" background:#{{ #switch: {{{element|}}} | Air=DFF; | Earth=FEC; | Fire=FDD; | Life=EFC; | Magic=EDF; | Tech=FFC; | Undead=EEF; | Water=CEF; | B0E0E6;}}; border:solid 3px #{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=9BCB65; | Magic=9400D3; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}; float:right;" width="300px"
{| class="infobox" style="background:#{{elementcolor|{{{element|}}}|header}}; border:1px solid #0F378C"
|- valign="top"
|-
{{!}} colspan="2" style="text-align:center; font-size: large; background:#{{ #switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}};"{{!}}  
! colspan="2" style="background-color:#{{elementcolor|{{{element|}}}|title}};color:white;font-size:125%"| <span style="text-shadow: 0 0 0.4em black;">{{{name|{{PAGENAME}}}}}</span>
{{#if: {{{element|}}}|[[File:{{{element|}}}SymbolSkylanders.png|{{{element|}}}|22px|link={{{element|}}}]]}} {{#if: {{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if: {{{element|}}}|[[File:{{{element|}}}SymbolSkylanders.png|{{{element|}}}|22px|link={{{element|}}}]]}}
|-
|- valign="top"
|- style="vertical-align: top"
{{!}} colspan="2" style="text-align:center;"{{!}}
{{#if:{{{element|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{#if: {{{image|}}}|{{{image|}}}|[[Image:{{PAGENAME}}.jpg|250px|{{PAGENAME}}]]}}
{{!}} '''Element:'''
|- valign="top"
{{!}} {{{element}}}
{{#if:{{{species|}}} |
|}}
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Species:'''
|- style="vertical-align: top"
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} {{{species|}}} }}
{{#if:{{{movement|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
|- valign="top"
{{!}} '''Movement:'''
{{#if:{{{gender|}}} |
{{!}} {{{movement}}}
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Gender:'''
|}}
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} {{{gender|}}} }}
|- style="vertical-align: top"
|- valign="top"
{{#if:{{{battleclass|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{#if:{{{element|}}} |
{{!}} '''Battle Class:'''
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Element:'''
{{!}} {{{battleclass}}}
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} [[{{{element|}}}|<font color=black>{{{element|}}}</font>]]
|}}
}}
|-
|- valign="top"
| style="text-align:center" colspan="2" | {{{image|}}}
{{#if:{{{role|}}} |
|- style="vertical-align: top"
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Role:'''
{{#if:{{{species|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} {{{role|}}}
{{!}} '''Species:'''
}}
{{!}} {{{species}}}
|- valign="top"
|}}
{{#if:{{{World|}}} |
|- style="vertical-align: top"
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Homeworld:'''
{{#if:{{{gender|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} {{{world|}}}
{{!}} '''Gender:'''
}}
{{!}} {{{gender}}}
|- valign="top"
|}}
{{#if:{{{appearances|}}} |
|- style="vertical-align: top"
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Appears in:'''
{{#if:{{{role|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} <small>{{{appearances|}}}</small>
{{!}} '''Role:'''
}}
{{!}} {{{role}}}
|- valign="top"
|}}
{{#if:{{{attack|}}} |
|- style="vertical-align: top"
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Attacks/Actions:'''
{{#if:{{{family|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} <small>{{{attack|}}}</small>
{{!}} '''Family:'''
}}
{{!}} {{{family}}}
|- valign="top"
|}}
{{#if:{{{voiceeng|}}} |
|- style="vertical-align: top"
! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Earth=960; | Fire=B33; | Life=5BE85B; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''English Voice Actor:'''
{{#if:{{{world|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} style="background:#{{#switch: {{{element|}}} | Air=BFF; | Earth=DEB887; | Fire=FF531A; | Life=90EE90; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}}" {{!}} {{{voiceeng|}}}
{{!}} '''World:'''
}}
{{!}} {{{world}}}
|}</includeonly><noinclude>
|}}
This template is used to display a character box on a page. To use this template, add this code:
|- style="vertical-align: top"
{{#if:{{{attack|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} '''Attacks:'''
{{!}} {{{attack}}}
|}}
|- style="vertical-align: top;"
{{#if:{{{appearances|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} '''Appears in:'''
{{!}} {{{appearances}}}
|}}
|- style="vertical-align: top"
{{#if:{{{cameos|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} '''Cameos:'''
{{!}} {{{cameos}}}
|}}
|- style="vertical-align: top"
{{#if:{{{firstrelease|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} '''First Release:'''
{{!}} {{{firstrelease}}}
|}}
|- style="vertical-align: top"
{{#if:{{{voiceeng|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
{{!}} '''English Voice Actor:'''
{{!}} {{{voiceeng}}}
|}}
|}<noinclude>
 
==Usage==
<pre>
<pre>
{{Characterbox
{{Characterbox
|name = optional (leave empty to automatically use the article name)
|name=
|image = optional (leave empty to automatically use a 250px sized jpg with the article's name)
|element=
|species = optional
|movement=(SWAP Force)
|gender = optional
|battleclass=(Senseis/Imaginators)
|element = optional (start with capital letter to activate recolor function)
|image=
|homeworld = optional
|species=
|appearances= optional (which games the character appears in)
|gender=
|attack = optional
|role=
|voiceeng = optional
|family=
|world=
|attack=
|appearances=
|cameos=
|firstrelease=
|voiceeng=
}}
}}
</pre>
</pre>
[[Category:Template]]
</noinclude>

Latest revision as of 08:04, June 4, 2025

Characterbox

Usage

{{Characterbox
|name=
|element=
|movement=(SWAP Force)
|battleclass=(Senseis/Imaginators)
|image=
|species=
|gender=
|role=
|family=
|world=
|attack=
|appearances=
|cameos=
|firstrelease=
|voiceeng=
}}