Template:WireColor: Difference between revisions
Jump to navigation
Jump to search
GeorgeDewar (talk | contribs) Created page with "Testing colour G: {{WireColorName|G}} {{WireColorHex|G}}" |
GeorgeDewar (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}} | |||
| <div class="wireColor"><span>{{WireColorName|{{{1}}}}} / {{WireColorName|{{{2}}}}}</span><span class="wireColorBox" style="background:linear-gradient(135deg, {{WireColorHex|{{{1}}}}} 50%, {{WireColorHex|{{{2}}}}} 50%);"></span></div> | |||
| <div class="wireColor"><span>{{WireColorName|{{{1}}}}}</span>{{#ifeq: {{{1}}} | SHIELD | <span class="wireColorBox" style="overflow: hidden;">[[File:Wirecolor_shield.gif|link=|top]]</span> | <span class="wireColorBox" style="background:{{WireColorHex|{{{1}}}}};"></span></div> }} | |||
}}</includeonly><noinclude> | |||
This template outputs a colour name and square, particularly for use in a table. | |||
{{WireColorName|G}} | == Single Colours == | ||
{{WireColorHex| | |||
Usage: <code><nowiki>{{WireColor|B}}</nowiki></code> (where B is the colour code) | |||
{| class="wikitable" | |||
|- | |||
! Color Code !! Name !! Colour Code !! Name with colour box | |||
|- | |||
| B || {{WireColorName|B}} || {{WireColorHex|B}} || {{WireColor|B}} | |||
|- | |||
| W || {{WireColorName|W}} || {{WireColorHex|W}} || {{WireColor|W}} | |||
|- | |||
| R || {{WireColorName|R}} || {{WireColorHex|R}} || {{WireColor|R}} | |||
|- | |||
| G || {{WireColorName|G}} || {{WireColorHex|G}} || {{WireColor|G}} | |||
|- | |||
| L || {{WireColorName|L}} || {{WireColorHex|L}} || {{WireColor|L}} | |||
|- | |||
| Y || {{WireColorName|Y}} || {{WireColorHex|Y}} || {{WireColor|Y}} | |||
|- | |||
| LG || {{WireColorName|LG}} || {{WireColorHex|LG}} || {{WireColor|LG}} | |||
|- | |||
| DG || {{WireColorName|DG}} || {{WireColorHex|DG}} || {{WireColor|DG}} | |||
|- | |||
| BR || {{WireColorName|BR}} || {{WireColorHex|BR}} || {{WireColor|BR}} | |||
|- | |||
| O || {{WireColorName|O}} || {{WireColorHex|O}} || {{WireColor|O}} | |||
|- | |||
| P || {{WireColorName|P}} || {{WireColorHex|P}} || {{WireColor|P}} | |||
|- | |||
| V || {{WireColorName|V}} || {{WireColorHex|V}} || {{WireColor|V}} | |||
|- | |||
| GR || {{WireColorName|GR}} || {{WireColorHex|GR}} || {{WireColor|GR}} | |||
|- | |||
| SB || {{WireColorName|SB}} || {{WireColorHex|SB}} || {{WireColor|SB}} | |||
|- | |||
| LB || {{WireColorName|LB}} || {{WireColorHex|LB}} || {{WireColor|LB}} | |||
|- | |||
| LA || {{WireColorName|LA}} || {{WireColorHex|LA}} || {{WireColor|LA}} | |||
|- | |||
| CH || {{WireColorName|CH}} || {{WireColorHex|CH}} || {{WireColor|CH}} | |||
|- | |||
| BG || {{WireColorName|BG}} || {{WireColorHex|BG}} || {{WireColor|BG}} | |||
|- | |||
| SHIELD || {{WireColorName|SHIELD}} || N/A || {{WireColor|SHIELD}} | |||
|} | |||
== Multiple Colours == | |||
Usage: <code><nowiki>{{WireColor|LA|L}}</nowiki></code> (where LA and L are the two colour codes) | |||
There are a large number of possible combinations, not all of which are used, so here are a few examples. | |||
{| class="wikitable" | |||
|- | |||
! Color Code !! Name with colour box | |||
|- | |||
| LA/L || {{WireColor|LA|L}} | |||
|- | |||
| B/R || {{WireColor|B|R}} | |||
|} | |||
</noinclude> |
Latest revision as of 11:05, 28 April 2025
This template outputs a colour name and square, particularly for use in a table.
Single Colours[edit source]
Usage: {{WireColor|B}}
(where B is the colour code)
Color Code | Name | Colour Code | Name with colour box |
---|---|---|---|
B | Black | #000000 | Black
|
W | White | #FFFFFF | White
|
R | Red | #FF0000 | Red
|
G | Green | #008000 | Green
|
L | Blue | #0000FF | Blue
|
Y | Yellow | #FFFF00 | Yellow
|
LG | Light Green | #90EE90 | Light Green
|
DG | Dark Green | #006400 | Dark Green
|
BR | Brown | #A52A2A | Brown
|
O | Orange | #FF8C00 | Orange
|
P | Pink | #FFC0CB | Pink
|
V | Violet | #800080 | Violet
|
GR | Gray | #808080 | Gray
|
SB | Sky Blue | #87CEEB | Sky Blue
|
LB | Light Blue | #88B5EA | Light Blue
|
LA | Lavender | #E6E6FA | Lavender
|
CH | Dark Brown | #8B0000 | Dark Brown
|
BG | Beige | #F5F5DC | Beige
|
SHIELD | Shield | N/A | Shield
|
Multiple Colours[edit source]
Usage: {{WireColor|LA|L}}
(where LA and L are the two colour codes)
There are a large number of possible combinations, not all of which are used, so here are a few examples.
Color Code | Name with colour box |
---|---|
LA/L | Lavender / Blue
|
B/R | Black / Red
|