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
m Nevermind, clashes with traps - new solution, though slightly awkward
New suffix method. Fewer exceptions and more future-proof than the old "multiple" method. Will remove "multiple" once all instances have been updated.
Line 2: Line 2:
|-
|-
|- style="background:#FFFFFF;"
|- style="background:#FFFFFF;"
| width="45px" height="45px" align="center"| {{#ifeq:{{{1|}}}|None||[[File:{{{1|Chompy_Mage_Villain_Icon.png}}}|{{{size|90px}}}|link={{#ifeq:{{{title|}}}|Shadow|Dark|}} {{{2|Chompy Mage}}}{{#switch:{{{multiple|no}}}|yes=_(villain)|char=_(character)|s=s|academy=_(Skylanders Academy)}}]]}}
| width="45px" height="45px" align="center"| {{#ifeq:{{{1|}}}|None||[[File:{{{1|Chompy_Mage_Villain_Icon.png}}}|{{{size|90px}}}|link={{#ifeq:{{{title|}}}|Shadow|Dark|}} {{{2|Chompy Mage}}}{{#switch:{{{multiple|no}}}|yes=_(villain)|char=_(character)|s=s|academy=_(Skylanders Academy)}}{{#if:{{{suffix|}}}|{{#ifeq:{{{suffix|}}}|s|s|_{{{suffix|}}} }}|}}]]}}
| align="left" | {{#if:{{{title|}}}|{{#ifeq:{{{title|}}}|Shadow||{{{title|}}} }}|}} [[{{#ifeq:{{{title|}}}|Shadow|Dark|}} {{{2|Chompy Mage}}}{{#switch:{{{multiple|no}}}|yes=_(villain)|char=_(character)|s=s|academy=_(Skylanders Academy)}}|{{#switch:{{{2|Chompy Mage}}}|Kaos (Sensei)=Kaos|Clunker (vehicle)=Clunker|{{#ifeq:{{{title|}}}|Shadow|Shadow|}} {{{2|Chompy Mage}}} }}]]
| align="left" | {{#if:{{{title|}}}|{{#ifeq:{{{title|}}}|Shadow||{{{title|}}} }}|}} [[{{#ifeq:{{{title|}}}|Shadow|Dark|}} {{{2|Chompy Mage}}}{{#switch:{{{multiple|no}}}|yes=_(villain)|char=_(character)|s=s|academy=_(Skylanders Academy)}}{{#if:{{{suffix|}}}|{{#ifeq:{{{suffix|}}}|s|s|_{{{suffix|}}} }}|}}|{{#switch:{{{2|Chompy Mage}}}|Kaos (Sensei)=Kaos|Clunker (vehicle)=Clunker|{{#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" {{#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" {{#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" {{#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|}}}]] |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" {{#if:{{{terrain|}}}|{{!}} [[File:{{{terrain|Land}}} Symbol.png|{{{terrain|Land}}}|50px|link=Vehicles]] |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" {{#if:{{{pilot|}}}|{{!}} [[File:{{{pilot|Spitfire}}} Icon.png|{{{pilot|Spitfire}}}|90px|link={{{pilot|Spitfire}}}]] |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;"{{!}} }}
Line 21: Line 21:


Advanced Inputs
Advanced Inputs
multiple|Mainly for villains; yes=(villain), char=(character), academy= (Skylanders Academy)
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.
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.
text|Any additional text wanted below the name link. Such as exclusivity notes or links to alternate counterparts.

Revision as of 03:27, December 25, 2018

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)