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:CharElemListEntry: Difference between revisions

From Skylanders Wiki
Moviesign (talk | contribs)
Moved in-line styles to Common.css
m Quick dirty fix, will probably rework later
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-
|-
|- class="char-elem-list"
|- class="char-elem-list"
| width="45px" height="45px" align="center"| {{#ifeq:{{{1|}}}|None||[[File:{{{1|Chompy_Mage_Villain_Icon.png}}}|{{{size|90px}}}|link={{#switch:{{{title|}}}|[element]={{{3|}}}|[[Kaos (Element)|Kaos]]=Kaos (Element)|Shadow=Dark {{{2|Chompy Mage}}}|{{{2|Chompy Mage}}}}}{{#if:{{{suffix|}}}|{{#ifeq:{{{suffix|}}}|s|s|_{{{suffix|}}}}}|}}]]}}
| width="45px" height="45px" align="center" style="background: #EEE;" | {{#ifeq:{{{1|}}}|None||[[File:{{{1|chompy Mage_Villain_Icon.png}}}|{{{size|90px}}}|link={{#switch:{{{title|}}}|[element]={{{3|}}}|[[Kaos (Element)|Kaos]]=Kaos (Element)|Shadow=Dark {{{2|Chompy Mage}}}|{{{2|Chompy Mage}}}}}{{#if:{{{suffix|}}}|{{#ifeq:{{{suffix|}}}|s|s|_{{{suffix|}}}}}|}}]]}}
| align="left" | {{#switch:{{{title|}}}|Shadow=|[element]=[[{{{3|}}}]]|{{{title|}}}}} {{#ifeq:{{PAGENAME}}|{{{2|Chompy Mage}}}|{{{2|Chompy Mage}}}|[[{{#ifeq:{{{title|}}}|Shadow|Dark|}} {{{2|Chompy Mage}}}{{#if:{{{suffix|}}}|{{#ifeq:{{{suffix|}}}|s|s|_{{{suffix|}}}}}|}}|{{#ifeq:{{{title|}}}|Shadow|Shadow|}} {{{2|Chompy Mage}}}]]}}
| align="left" style="background: #EEE;" | {{#switch:{{{title|}}}|Shadow=|[element]=[[{{{3|}}}]]|{{{title|}}}}} {{#ifeq:{{PAGENAME}}|{{{2|Chompy Mage}}}|{{{2|Chompy Mage}}}|[[{{#ifeq:{{{title|}}}|Shadow|Dark|}} {{{2|Chompy Mage}}}{{#if:{{{suffix|}}}|{{#ifeq:{{{suffix|}}}|s|s|_{{{suffix|}}}}}|}}|{{#ifeq:{{{title|}}}|Shadow|Shadow|}} {{{2|Chompy Mage}}}]]}}
{{#if:{{{text|}}}|{{{text|}}}|}}
{{#if:{{{text|}}}|{{{text|}}}|}}
{{!}}align="center" {{#if:{{{3|}}}|{{!}} [[File:{{{3|Life}}}SymbolSkylanders.png|{{{3|Life}}}|50px|link={{#ifeq:{{{3|Life}}}|Kaos|Kaos (Element)|{{{3|Life}}}}}]] |style="display:none;"{{!}} }}
{{!}}align="center" style="background: #EEE;" {{#if:{{{3|}}}|{{!}} [[File:{{{3|Life}}}SymbolSkylanders.png|{{{3|Life}}}|50px|link={{#ifeq:{{{3|Life}}}|Kaos|Kaos (Element)|{{{3|Life}}}}}]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" {{#if:{{{class|}}}|{{!}} [[File:{{{class|Brawler}}} symbol.png|{{{class|Brawler}}}|50px|link=Battle Classes]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" style="background: #EEE;" {{#if:{{{class|}}}|{{!}} [[File:{{{class|Brawler}}} symbol.png|{{{class|Brawler}}}|50px|link=Battle Classes]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" {{#if:{{{movement|}}}|{{!}} [[File:{{{movement|Climb}}} symbol.png|{{{movement|Climb}}}|50px|link=SWAP Force Zones]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" style="background: #EEE;" {{#if:{{{movement|}}}|{{!}} [[File:{{{movement|Climb}}} symbol.png|{{{movement|Climb}}}|50px|link=SWAP Force Zones]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" {{#if:{{{vehicle|}}}|{{!}} [[File:{{{vehicle|Hot Streak}}} symbol.png|{{{vehicle|Hot Streak}}}|90px|link={{{vehicle|Hot Streak}}}]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" style="background: #EEE;" {{#if:{{{vehicle|}}}|{{!}} [[File:{{{vehicle|Hot Streak}}} symbol.png|{{{vehicle|Hot Streak}}}|90px|link={{{vehicle|Hot Streak}}}]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" {{#if:{{{terrain|}}}|{{!}} [[File:{{{terrain|Land}}} Symbol.png|{{{terrain|Land}}}|50px|link=Vehicles]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" style="background: #EEE;" {{#if:{{{terrain|}}}|{{!}} [[File:{{{terrain|Land}}} Symbol.png|{{{terrain|Land}}}|50px|link=Vehicles]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" {{#if:{{{pilot|}}}|{{!}} [[File:{{{pilot|Spitfire}}} Icon.png|{{{pilot|Spitfire}}}|90px|link={{{pilot|Spitfire}}}]] |style="display:none;"{{!}} }}
{{!}}width="25px" height="25px" align="center" style="background: #EEE;" {{#if:{{{pilot|}}}|{{!}} [[File:{{{pilot|Spitfire}}} Icon.png|{{{pilot|Spitfire}}}|90px|link={{{pilot|Spitfire}}}]] |style="display:none;"{{!}} }}
|-
|-
<noinclude>
<noinclude>

Latest revision as of 02:27, May 11, 2025

Character Element
Chompy Mage
Basic Inputs
1|Image link ("None" gives blank cell).
2|Character name (required)
3|Element (optional)

Advanced Inputs
suffix|Link-only suffix, required for certain characters. Examples: (villain), (character), (Skylanders Academy).
title|Character title. Used for LightCores and Series 2-4, as they share their pages with the original counterpart.
text|Any additional text wanted below the name link. Such as exclusivity notes or links to alternate counterparts.

Extra Cells
class|Battle Class (Senseis)
movement|Movement Type (SWAP Force)
vehicle|Signature Vehicle (SuperChargers)
terrain|Vehicle Terrain (Vehicles)
pilot|Signature Pilot (Vehicles)