A Wiki in the Desert
Log in

Difference between revisions of "Template:UniColor"

From A Wiki in the Desert
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<INCLUDEONLY>&#35;{{#switch:{{{1|None}}}|Architecture|Arch=f80|Art and Music|Art & Music|Art=0cf|The Human Body|Human Body|Body=4f4|Harmony|Harm=c0f|Natural Philosophy|NatPhi=c0f|Leadership|Lead=44f|Thought|Tho=f44|Worship|Wor=ff2|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>#f80</tt>
 
| style = 'background: #f80' |
 
|-
 
| Art and Music || Art || <tt>#0cf</tt>
 
| style = 'background: #0cf' |
 
|-
 
| Human Body || Body || <tt>#4f4</tt>
 
| style = 'background: #4f4' |
 
|-
 
| Natural Philosophy || NatPhi || <tt>#c0f</tt>
 
| style = 'background: #c0f' |
 
|-
 
| Thought || Tho|| <tt>#f44</tt>
 
| style = 'background: #f44' |
 
|-
 
| Worship || Wor || <tt>#ff2</tt>
 
| style = 'background: #ff2' |
 
 
 
|}
 
 
 
[[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?)