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)
Infobox updated using the portable infobox migration tool
No edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox theme-source="element">
{| class="infobox" style="background:#{{elementcolor|{{{element|}}}|header}}; border:1px solid #0F378C"
{{ #switch: {{{element|}}}
|-
.pi-theme-Air {
! 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>
      background :#DFF;
|-
      border:solid 3px #ADD8E6;
|- style="vertical-align: top"
  }
{{#if:{{{element|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
  .pi-theme-Dark {
{{!}} '''Element:'''
      background :#ebebef;
{{!}} {{{element}}}
      border:solid 3px #191970;
|}}
  }
|- style="vertical-align: top"
  .pi-theme-Earth {
{{#if:{{{movement|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
      background :#FEC;
{{!}} '''Movement:'''
      border:solid 3px #960;
{{!}} {{{movement}}}
  }
|}}
  .pi-theme-Fire {
|- style="vertical-align: top"
      background :#FDD;
{{#if:{{{battleclass|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
      border:solid 3px #1390FF;
{{!}} '''Battle Class:'''
  }
{{!}} {{{battleclass}}}
  .pi-theme-Kaos (Element)
|}}
      background :#DFF;
|-
      border:solid 3px #ADD8E6;
| style="text-align:center" colspan="2" | {{{image|}}}
  }
|- style="vertical-align: top"
  .pi-theme-Life {
{{#if:{{{species|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
      background :#EFC;
{{!}} '''Species:'''
      border:solid 3px #9BCB65;
{{!}} {{{species}}}
  }
|}}
  .pi-theme-Light {
|- style="vertical-align: top"
      background :#fdff74;
{{#if:{{{gender|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
      border:solid 3px #FFD700;
{{!}} '''Gender:'''
  }
{{!}} {{{gender}}}
  .pi-theme-Magic {
|}}
      background :#EDF;
|- style="vertical-align: top"
      border:solid 3px #9400D3;
{{#if:{{{role|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
  }
{{!}} '''Role:'''
  .pi-theme-Tech {
{{!}} {{{role}}}
      background :#FFC;
|}}
      border:solid 3px #FFA500;
|- style="vertical-align: top"
  }
{{#if:{{{family|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
  .pi-theme-Undead {
{{!}} '''Family:'''
      background :#EEF;
{{!}} {{{family}}}
      border:solid 3px #808080;
|}}
  }
|- style="vertical-align: top"
  .pi-theme-Water {
{{#if:{{{world|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
      background :#CEF;
{{!}} '''World:'''
      border:solid 3px #4169E1;
{{!}} {{{world}}}
  }} {{!}} {{#if:
|}}
<data source="element"><label>Element: [[File:{{{element|}}}SymbolSkylanders.png|{{{element|}}}|22px|link={{{element|}}}]]</label></data>
|- style="vertical-align: top"
<title source="name"><default>{{PAGENAME}}</default></title>
{{#if:{{{attack|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
<image source="image"/>
{{!}} '''Attacks:'''
<data source="species"><label>Species:</label></data>
{{!}} {{{attack}}}
<data source="gender"><label>Gender:</label></data>
|}}
<data source="role"><label>Role:</label></data>
|- style="vertical-align: top;"
<data source="world"><label>World:</label></data>
{{#if:{{{appearances|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
<data source="appearances"><label>Appears in:</label></data>
{{!}} '''Appears in:'''
<data source="cameos"><label>Cameos:</label></data>
{{!}} {{{appearances}}}
<data source="attack"><label>Attacks:</label></data>
|}}
<data source="voiceeng"><label>English Voice Actor:</label></data>
|- style="vertical-align: top"
<data source="firstrelease"><label>First Release:</label></data>
{{#if:{{{cameos|}}}|{{!}}-style="background:#{{elementcolor|{{{element|}}}|}}"
</infobox>
{{!}} '''Cameos:'''
<noinclude>
{{!}} {{{cameos}}}
== Usage & preview ==
|}}
Type in this:
|- 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=
|element=
|element=
|name=
|movement=(SWAP Force)
|battleclass=(Senseis/Imaginators)
|image=
|image=
|species=
|species=
|gender=
|gender=
|role=
|role=
|family=
|world=
|world=
|attack=
|appearances=
|appearances=
|cameos=
|cameos=
|attack=
|firstrelease=
|voiceeng=
|voiceeng=
|firstrelease=
}}
}}
</pre>
</pre>
to see this:
{{Characterbox
|element=This is a test
|name=This is a test
|image=This is a test
|species=This is a test
|gender=This is a test
|role=This is a test
|world=This is a test
|appearances=This is a test
|cameos=This is a test
|attack=This is a test
|voiceeng=This is a test
|firstrelease=This is a test
}}
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</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=
}}