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
Aura24 (talk | contribs)
No edit summary
Tag: sourceedit
Back to original
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{2|}}}|header
<includeonly>{{#switch:{{{2|}}}
|{{#switch:{{lc:{{{1|}}} }}| air=6DF | blank=9A8 | dark=568 | earth=DA4 | fire=F44 | kaos=76A | kaos (element)=76A | life=4D5 | light=FE7 | magic=A7B | non-elemental=9A8 | tech=FB5 | undead=99A | water=47B | 0BF}}
|title={{#switch:{{lc:{{{1|}}} }}| air=2AF | dark=024 | earth=950 | fire=C00 | kaos|kaos (element)=325 | life=090 | light=FC3 | magic=527 | tech=E61 | undead=445 | water=037 | blank|non-elemental=554 | pandergast=913 | villain=035 | #default=19F}}
|{{#switch:{{lc:{{{1|}}} }}| air=AFF | blank=DDC | dark=89B | earth=FD8 | fire=F77 | kaos=AAD | kaos (element)=AAD | life=7F8 | light=FFB | magic=DAE | non-elemental=DDC | tech=FE9 | undead=CCD | water=7BF | BEE}}
|header={{#switch:{{lc:{{{1|}}} }}| air=6DF | dark=568 | earth=C95 | fire=FF5656 | kaos|kaos (element)=76A | life=4D5 | light=FE7 | magic=A7B | tech=FB5 | undead=99A | water=47B | blank|non-elemental=9A8 | pandergast=D58 | villain=57A | #default=BDF}}
}}</includeonly><noinclude><br>This template serves as a universal color picker for elemental tables.<br>
|#default={{#switch:{{lc:{{{1|}}} }}| air=BFF | dark=BBD | earth=EDA | fire=FBB | kaos|kaos (element)=CCF | life=BFB | light=FFB | magic=EBF | tech=FEB | undead=CCD | water=BDF | blank|non-elemental=DDC | pandergast=F9B | villain=8BD | #default=EDF4FF}}}}</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>
<pre>{{elementcolor|element|header}} Header cell background color.
<pre>{{elementcolor|element|header}} Title cell background color.
{{elementcolor|element|header}} Header cell background color.
{{elementcolor|element|}} Text cell background color.</pre>
{{elementcolor|element|}} Text cell background color.</pre>
Replace "element" with an actual element (or a template tag in which an element is given).
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 Kaos, both "Kaos" and "Kaos (Element)" are acceptable.
*For Non-Elemental, both "Non-Elemental" and "Blank" are acceptable.
*For Non-Elemental, both "Non-Elemental" and "Blank" are acceptable.
{|width="100%" colspan="13" style="border: 2px solid #000000; color:black; text-align:center;"
*Additional non-elemental classifications: Pandergast, Villain.</noinclude>
|-
|width="47" height="47" style="clear:both; background: #6DF;"|'''Air'''
|width="47" height="47" style="clear:both; background: #9A8;"|'''Non-Elemental (Blank)'''
|width="47" height="47" style="clear:both; background: #568;"|'''Dark'''
|width="47" height="47" style="clear:both; background: #DA4;"|'''Earth'''
|width="47" height="47" style="clear:both; background: #F44;"|'''Fire'''
|width="47" height="47" style="clear:both; background: #76A;"|'''Kaos'''
|width="47" height="47" style="clear:both; background: #4D5;"|'''Life'''
|width="47" height="47" style="clear:both; background: #FE7;"|'''Light'''
|width="47" height="47" style="clear:both; background: #A7B;"|'''Magic'''
|width="47" height="47" style="clear:both; background: #FB5;"|'''Tech'''
|width="47" height="47" style="clear:both; background: #99A;"|'''Undead'''
|width="47" height="47" style="clear:both; background: #1E90FF;"|'''Water'''
|width="47" height="47" style="clear:both; background: #0BF;"|'''N/A'''
|-
|width="47" height="47" style="clear:both; background: #AFF;"|Air
|width="47" height="47" style="clear:both; background: #DDC;"|Non-Elemental (Blank)
|width="47" height="47" style="clear:both; background: #bbc1cf;"|Dark
|width="47" height="47" style="clear:both; background: #FD8;"|Earth
|width="47" height="47" style="clear:both; background: #fdcccc;"|Fire
|width="47" height="47" style="clear:both; background: #AAD;"|Kaos
|width="47" height="47" style="clear:both; background: #7F8;"|Life
|width="47" height="47" style="clear:both; background: #FFB;"|Light
|width="47" height="47" style="clear:both; background: #e7c3f3;"|Magic
|width="47" height="47" style="clear:both; background: #FE9;"|Tech
|width="47" height="47" style="clear:both; background: #CCD;"|Undead
|width="47" height="47" style="clear:both; background: #a5d2ff;"|Water
|width="47" height="47" style="clear:both; background: #BEE;"|N/A
|}</noinclude>

Latest revision as of 07:54, June 4, 2025


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}} Title cell background color.
{{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.
  • Additional non-elemental classifications: Pandergast, Villain.