|
|
Line 1: |
Line 1: |
| <includeonly>{|class="infobox" style=" background:#{{ #switch: {{{element|}}} | Air=DFF; | Dark=ebebef; | Earth=FEC; | Fire=FDD; | Kaos (Element)=5a5a63; | Life=EFC; | Light=fdff74; | Magic=EDF; | Tech=FFC; | Undead=EEF; | Water=CEF; | B0E0E6;}}; border:solid 3px #{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=191970; | Earth=960; | Fire=B33; | Kaos (Element)=1c1c28; | Life=9BCB65; | Light=FFD700; | Magic=9400D3; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}; float:right;" width="299px" | | <infobox theme-source="element"> |
| |- valign="top"
| | {{ #switch: {{{element|}}} |
| {{!}} colspan="2" style="text-align:center; font-size: large; background:#{{ #switch: {{{element|}}} | Air=BFF; | Dark=8d8dab; | Earth=DEB887; | Fire=FF531A; | Kaos (Element)=afafb2; | Life=90EE90; | Light=fdff52; | Magic=DAF; | Tech=FC9; | Undead=807070; | Water=ACF; | 00BFFF;}};"{{!}} {{#if: | | .pi-theme-Air { |
| | background :#DFF; |
| | border:solid 3px #ADD8E6; |
| | } |
| | .pi-theme-Dark { |
| | background :#ebebef; |
| | border:solid 3px #191970; |
| | } |
| | .pi-theme-Earth { |
| | background :#FEC; |
| | border:solid 3px #960; |
| | } |
| | .pi-theme-Fire { |
| | background :#FDD; |
| | border:solid 3px #1390FF; |
| | } |
| | .pi-theme-Kaos (Element) |
| | background :#DFF; |
| | border:solid 3px #ADD8E6; |
| | } |
| | .pi-theme-Life { |
| | background :#EFC; |
| | border:solid 3px #9BCB65; |
| | } |
| | .pi-theme-Light { |
| | background :#fdff74; |
| | border:solid 3px #FFD700; |
| | } |
| | .pi-theme-Magic { |
| | background :#EDF; |
| | border:solid 3px #9400D3; |
| | } |
| | .pi-theme-Tech { |
| | background :#FFC; |
| | border:solid 3px #FFA500; |
| | } |
| | .pi-theme-Undead { |
| | background :#EEF; |
| | border:solid 3px #808080; |
| | } |
| | .pi-theme-Water { |
| | background :#CEF; |
| | border:solid 3px #4169E1; |
| | }} {{!}} {{#if: |
| | <data source="element"><label>Element: [[File:{{{element|}}}SymbolSkylanders.png|{{{element|}}}|22px|link={{{element|}}}]]</label></data> |
| | <title source="name"><default>{{PAGENAME}}</default></title> |
| | <image source="image"/> |
| | <data source="species"><label>Species:</label></data> |
| | <data source="gender"><label>Gender:</label></data> |
| | <data source="role"><label>Role:</label></data> |
| | <data source="world"><label>World:</label></data> |
| | <data source="appearances"><label>Appears in:</label></data> |
| | <data source="cameos"><label>Cameos:</label></data> |
| | <data source="attack"><label>Attacks:</label></data> |
| | <data source="voiceeng"><label>English Voice Actor:</label></data> |
| | <data source="firstrelease"><label>First Release:</label></data> |
| | </infobox> |
| | <noinclude> |
| | == Usage & preview == |
| | Type in this: |
|
| |
|
| {{{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"
| |
| {{#if: {{{image|}}}|
| |
| {{!}} class="ussi" colspan="2" style="text-align:center; background:#FFFFFF"{{!}}
| |
| {{{image|}}}}}
| |
| |- valign="top"
| |
| {{#if:{{{species|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Species:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} {{{species|}}} }}
| |
| |- valign="top"
| |
| {{#if:{{{gender|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Gender:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} {{{gender|}}} }}
| |
| |- valign="top"
| |
| {{#if:{{{element|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Element:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFFF;}}" {{!}} [[{{{element|}}}|<font color=black>{{{element|}}}</font>]]
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{role|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Role:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} {{{role|}}}
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{world|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''World:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} {{{world|}}}
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{appearances|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700 | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Appears in:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} <small><i>{{{appearances|}}}</i></small>
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{cameos|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Cameos:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} <small><i>{{{cameos|}}}</i></small>
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{attack|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''Attacks/Actions:'''
| |
| {{!}} class="ussr" style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} <small>{{{attack|}}}</small>
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{voiceeng|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''English Voice Actor:'''
| |
| {{!}} style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} {{{voiceeng|}}}
| |
| }}
| |
| |- valign="top"
| |
| {{#if:{{{firstrelease|}}} |
| |
| ! style="background:#{{#switch: {{{element|}}} | Air=ADD8E6; | Dark=7d7dbb; | Earth=960; | Fire=FF4500; | Kaos (Element)=8b8b91; | Life=5BE85B; | Light=FFD700; | Magic=E699FF; | Tech=FFA500; | Undead=808080; | Water=4169E1; | 1390FF;}}" width="44%" {{!}} '''First Release:'''
| |
| {{!}} style="background:#{{#switch: {{{element|}}} | Air=BFF; | Dark=b1b1d6; | Earth=DEB887; | Fire=FFA500; | Kaos (Element)=b9b9bd; | Life=90EE90; | Light=feffb7; | Magic=DAF; | Tech=FC9; | Undead=DCDCDC; | Water=ACF; | E0FFFF;}}" {{!}} <i>{{{firstrelease|}}}</i>
| |
| }}
| |
| |}</includeonly><noinclude>
| |
| This template is used to display a character box on a page. To use this template, add this code:
| |
| <pre> | | <pre> |
| {{Characterbox | | {{Characterbox |
| |name = optional (leave empty to automatically use the article name) | | |element= |
| |image = optional (leave empty to automatically use a 250px sized jpg with the article's name) | | |name= |
| |species = optional | | |image= |
| |gender = optional | | |species= |
| |element = optional (start with capital letter to activate recolor function) | | |gender= |
| |world = optional | | |role= |
| |appearances= optional (which games the character appears in) | | |world= |
| |cameos = optional (which games or media the character made a brief appearance in) | | |appearances= |
| |attack = optional | | |cameos= |
| |voiceeng = optional | | |attack= |
| |firstrelease = first game character was released in | | |voiceeng= |
| | |firstrelease= |
| }} | | }} |
| | |
| </pre> | | </pre> |
| [[Category:Template]] | | |
| | 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> | | </noinclude> |
<infobox theme-source="element">
| {{#if:
<label>Element: File:SymbolSkylanders.png</label>
<title source="name"><default>Characterbox</default></title>
<image source="image"/>
<label>Species:</label>
<label>Gender:</label>
<label>Role:</label>
<label>World:</label>
<label>Appears in:</label>
<label>Cameos:</label>
<label>Attacks:</label>
<label>English Voice Actor:</label>
<label>First Release:</label>
</infobox>
Usage & preview
Type in this:
{{Characterbox
|element=
|name=
|image=
|species=
|gender=
|role=
|world=
|appearances=
|cameos=
|attack=
|voiceeng=
|firstrelease=
}}
to see this:
<infobox theme-source="element">
| {{#if:
<label>Element: This is a test</label>
<title source="name"><default>Characterbox</default></title>
<image source="image"/>
<label>Species:</label>
<label>Gender:</label>
<label>Role:</label>
<label>World:</label>
<label>Appears in:</label>
<label>Cameos:</label>
<label>Attacks:</label>
<label>English Voice Actor:</label>
<label>First Release:</label>
</infobox>
Click here to refresh the preview above