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/Element: Difference between revisions
From Skylanders Wiki, the Skylands encylopedia
Added special cases for Element tag Tag: sourceedit |
m Making the Battle Class icon link to the section of the article. Tag: sourceedit |
||
Line 1: | Line 1: | ||
{{#if:{{{element|}}}|{{#switch:{{{element|}}} | {{#if:{{{element|}}}|{{#switch:{{{element|}}} | ||
|Doom={{#if:{{{battleclass|}}}|'''Battle Class:''' [[File:{{{battleclass|}}} symbol.png|{{{battleclass|}}}|22px|link=Battle Classes]]}} | |Doom={{#if:{{{battleclass|}}}|'''Battle Class:''' [[File:{{{battleclass|}}} symbol.png|{{{battleclass|}}}|22px|link=Battle Classes#{{{battleclass|}}}]]}} | ||
|Dark/Fire='''Alignment:''' [[File:DarkSymbolSkylanders.png|Dark|22px|link=Dark]][[File:Villain Symbol.png|Villain|22px|link=Villains]] '''<big>/</big>''' [[File:FireSymbolSkylanders.png|Fire|22px|link=Fire]][[File:Ninja symbol.png|Ninja|22px|link=Battle Classes]] | |Dark/Fire='''Alignment:''' [[File:DarkSymbolSkylanders.png|Dark|22px|link=Dark]][[File:Villain Symbol.png|Villain|22px|link=Villains]] '''<big>/</big>''' [[File:FireSymbolSkylanders.png|Fire|22px|link=Fire]][[File:Ninja symbol.png|Ninja|22px|link=Battle Classes]] | ||
|Earth/Water='''Alignment:''' [[File:EarthSymbolSkylanders.png|Earth|22px|link=Earth]][[File:Villain Symbol.png|Villain|22px|link=Villains]] '''<big>/</big>''' [[File:WaterSymbolSkylanders.png|Water|22px|link=Water]][[File:Brawler symbol.png|Brawler|22px|link=Battle Classes]] | |Earth/Water='''Alignment:''' [[File:EarthSymbolSkylanders.png|Earth|22px|link=Earth]][[File:Villain Symbol.png|Villain|22px|link=Villains]] '''<big>/</big>''' [[File:WaterSymbolSkylanders.png|Water|22px|link=Water]][[File:Brawler symbol.png|Brawler|22px|link=Battle Classes]] | ||
|Undead/Dark='''Alignment:''' [[File:UndeadSymbolSkylanders.png|Undead|22px|link=Undead]][[File:Villain Symbol.png|Villain|22px|link=Villains]] '''<big>/</big>''' [[File:DarkSymbolSkylanders.png|Dark|22px|link=Dark]][[File:Sentinel symbol.png|Sentinel|22px|link=Battle Classes]] | |Undead/Dark='''Alignment:''' [[File:UndeadSymbolSkylanders.png|Undead|22px|link=Undead]][[File:Villain Symbol.png|Villain|22px|link=Villains]] '''<big>/</big>''' [[File:DarkSymbolSkylanders.png|Dark|22px|link=Dark]][[File:Sentinel symbol.png|Sentinel|22px|link=Battle Classes]] | ||
|'''Element{{#if:{{{movement|}}}|/SWAP Power|}}{{#if:{{{battleclass|}}}|/Class|}}:''' [[File:{{#ifeq:{{{element|}}}|Non-Elemental|Blank|{{{element|}}}}}SymbolSkylanders.png|{{{element|}}}|22px|link={{#ifeq:{{{element|}}}|Kaos|Kaos (Element)|{{{element|}}}}}]]{{#if:{{{movement|}}}|[[File:{{{movement|}}} symbol.png|{{{movement|}}}|22px|link=SWAP Force Zones]]}}{{#if:{{{battleclass|}}}|[[File:{{{battleclass|}}} symbol.png|{{{battleclass|}}}|22px|link=Battle Classes]]}}}}|}}<noinclude> | |'''Element{{#if:{{{movement|}}}|/SWAP Power|}}{{#if:{{{battleclass|}}}|/Class|}}:''' [[File:{{#ifeq:{{{element|}}}|Non-Elemental|Blank|{{{element|}}}}}SymbolSkylanders.png|{{{element|}}}|22px|link={{#ifeq:{{{element|}}}|Kaos|Kaos (Element)|{{{element|}}}}}]]{{#if:{{{movement|}}}|[[File:{{{movement|}}} symbol.png|{{{movement|}}}|22px|link=SWAP Force Zones]]}}{{#if:{{{battleclass|}}}|[[File:{{{battleclass|}}} symbol.png|{{{battleclass|}}}|22px|link=Battle Classes#{{{battleclass|}}}]]}}}}|}}<noinclude> | ||
Special Cases:<br> | Special Cases:<br> | ||
'''|Doom''': To display classes for [[Doomlanders]] without displaying element, since they have no element associated to them.<br> | '''|Doom''': To display classes for [[Doomlanders]] without displaying element, since they have no element associated to them.<br> | ||
'''|Dark/Fire''', '''|Earth/Water''', '''|Undead/Dark''': [[Tae Kwon Crow]], [[Grave Clobber (character)|Grave Clobber]] and [[Hood Sickle (character)|Hood Sickle]], respectively.</noinclude> | '''|Dark/Fire''', '''|Earth/Water''', '''|Undead/Dark''': [[Tae Kwon Crow]], [[Grave Clobber (character)|Grave Clobber]] and [[Hood Sickle (character)|Hood Sickle]], respectively.</noinclude> |
Revision as of 04:23, January 16, 2017
Special Cases:
|Doom: To display classes for Doomlanders without displaying element, since they have no element associated to them.
|Dark/Fire, |Earth/Water, |Undead/Dark: Tae Kwon Crow, Grave Clobber and Hood Sickle, respectively.