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:Elementcolor: Difference between revisions
From Skylanders Wiki, the Skylands encylopedia
m Protected "Template:Elementcolor": Planning to implement into several other protected templates. Protecting it now so we don't have to later. ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
mNo edit summary Tag: sourceedit |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{2|}}}|header | <includeonly>{{#ifeq:{{{2|}}}|header | ||
|{{#switch:{{lc:{{{1|}}} }}| air=BFF; | blank=889; | dark=668; | earth=DB8; | fire=F52; | kaos=213; | kaos (element)=213; | life=5A0; | light=FF3; | magic=DAF; | non-elemental=889; | tech=FC9; | undead=877; | water=ACF; | 0BF;}} | |{{#switch:{{lc:{{{1|}}} }}| air=BFF; | blank=889; | dark=668; | earth=DB8; | fire=F52; | kaos=213; | kaos (element)=213; | life=5A0; | light=FF3; | magic=DAF; | non-elemental=889; | tech=FC9; | undead=877; | water=ACF; | 0BF;}} | ||
|{{#switch:{{lc:{{{1|}}} }}| air=DFF; | blank=DDD; | dark= | |{{#switch:{{lc:{{{1|}}} }}| air=DFF; | blank=DDD; | dark=BBE; | earth=FEC; | fire=FDD; | kaos=DBE; | kaos (element)=DBE; | life=EFC; | light=FFB; | magic=EDF; | non-elemental=DDD; | tech=FFC; | undead=EEF; | water=CEF; | BEE;}} | ||
}}</includeonly><noinclude><br>This template serves as a universal color picker for elemental tables.<br> | }}</includeonly><noinclude><br>This template serves as a universal color picker for elemental tables.<br> | ||
One reason this was made is that not all templates use the same colors for elements. This template provides a unified standard for all elemental templates. Plus, it cuts down certain templates a LOT by replacing their switcher functions.<br> | One reason this was made is that not all templates use the same colors for elements. This template provides a unified standard for all elemental templates. Plus, it cuts down certain templates a LOT by replacing their switcher functions.<br> |
Revision as of 14:45, August 19, 2016
This template serves as a universal color picker for elemental tables.
One reason this was made is that not all templates use the same colors for elements. This template provides a unified standard for all elemental templates. Plus, it cuts down certain templates a LOT by replacing their switcher functions.
{{elementcolor|element|header}} Header cell background color. {{elementcolor|element|}} Text cell background color.
Replace "element" with an actual element (or a template tag in which an element is given).
- For Kaos, both "Kaos" and "Kaos (Element)" are acceptable.
- For Non-Elemental, both "Non-Elemental" and "Blank" are acceptable.
Air | Non-Elemental (Blank) | Dark | Earth | Fire | Kaos | Life | Light | Magic | Tech | Undead | Water | N/A |