A Wiki in the Desert
Log in

Difference between revisions of "Template:UniColor"

From A Wiki in the Desert
(Updated Uni colours to match in game map icons)
m
 
Line 1: Line 1:
<INCLUDEONLY>&#35;{{#switch:{{{1|None}}}|Architecture|Arch=963|Art and Music|Art & Music|Art=96c|The Human Body|Human Body|Body=fc3|Harmony|Harm=c0f|Natural Philosophy|NatPhi=c33|Leadership|Lead=44f|Thought|Tho=39c|Worship|Wor=396|888}}</INCLUDEONLY><NOINCLUDE>
+
<INCLUDEONLY>&#35;{{#switch:{{{1|None}}}|Architecture|Arch=963|Art and Music|Art & Music|Art=96c|The Human Body|Human Body|Body=fc3|Harmony|Harm=c0f|Natural Philosophy|NatPhi=c33|Leadership|Lead=44f|Thought|Tho=39c|Worship|Wor=396|888}}</INCLUDEONLY><noinclude>
This template will return a 3-digit color code based upon the input
+
{{Documentation}}
 
+
[[Category:Content templates]]
{| class="wikitable" border="1" cellpadding="5" cellspacing="5" style="background-color:#FFF0CC"
+
</noinclude>
!Incoming Value (Full) !! Incoming Value (Abbreviation) !! Outgoing value !! Colour Sample
 
|-
 
| Architecture || Arch || <tt>#963</tt>
 
| style = 'background: #963' |
 
|-
 
| Art and Music || Art || <tt>#96c</tt>
 
| style = 'background: #96c' |
 
|-
 
| Human Body || Body || <tt>#fc3</tt>
 
| style = 'background: #fc3' |
 
|-
 
| Natural Philosophy || NatPhi || <tt>#c33</tt>
 
| style = 'background: #c33' |
 
|-
 
| Thought || Tho|| <tt>#39c</tt>
 
| style = 'background: #39c' |
 
|-
 
| Worship || Wor || <tt>#396</tt>
 
| style = 'background: #396' |
 
 
 
|}
 
 
 
[[Category:Templates]] {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>
 

Latest revision as of 18:12, 17 May 2021

Template documentation (for the above template, sometimes hidden or invisible)

This template will return a 3-digit color code based upon the input

Incoming Value (Full) Incoming Value (Abbreviation) Outgoing value Colour Sample
Architecture Arch #963
Art and Music Art #96c
Human Body Body #fc3
Natural Philosophy NatPhi #c33
Thought Tho #39c
Worship Wor #396

Visit Template:UniColor/doc to edit this text! (How does this work?)