Template:Color: Difference between revisions

some documentation
(adding white)
(some documentation)
 
Line 23: Line 23:
| white = lightsteelblue
| white = lightsteelblue
| {{{1}}}
| {{{1}}}
}}</includeonly><noinclude>Used in [[Template:Roster]] to convert division colors into font colors.
}}</includeonly><noinclude>Used by multiple templates such as [[Template:Roster]], [[Template:Sidebar]] and [[Template:Service Record]] to change color names to divisional colors. These redefined color names are used widely in the 118Wiki for uniformity.
 
{| class="wikitable"
|+ Redefined color names
|-
! Sample !! Name !! HTML name !! Hex code
|-
| style="background: maroon" | || Red || maroon || #800000
|-
| style="background: darkgoldenrod" |  || Gold || darkgoldenrod || #B8860B
|-
| style="background: steelblue" |  || Blue || steelblue || #4682B4
|-
| style="background: teal" |  || Teal || teal || #008080
|-
| style="background: purple" |  || Violet || purple || #800080
|-
| style="background: dimgray" |  || Silver || dimgray || #696969
|-
| style="background: darkgreen" |  || Green || darkgreen || #006400
|-
| style="background: black" |  || Black || black || #000000
|-
| style="background: lightsteelblue" |  || White || lightsteelblue || #B0C4DE
|}
 
The redefined names produce only divisional colors as listed above. If you want to use normal HTML colors whose names have been used above, use Hex color codes instead.
 
{| class="wikitable"
|+ Hex codes for HTML color names
|-
! Sample !! HTML name !! Hex code
|-
| style="background: red" | || Red || #FF0000
|-
| style="background: gold" | || Gold || #FFD700
|-
| style="background: blue" | || Blue || #0000FF
|-
| style="background: teal" | || Teal || #008080
|-
| style="background: violet" | || Violet || #EE82EE
|-
| style="background: silver" | || Silver || #C0C0C0
|-
| style="background: green" | || Green || #008000
|-
| style="background: black" | || Black || #000000
|-
| style="background: white" | || White || #FFFFFF
|}
[[Category:Wiki System Templates]]
[[Category:Wiki System Templates]]
</noinclude>
</noinclude>
1,464

edits