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 |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}} | |||
| {{WireColorName|{{{1}}}}} / {{WireColorName|{{{2}}}}} <span style="display:inline-block; width:1em; height:1em; background:linear-gradient(135deg, {{WireColorHex|{{{1}}}}} 50%, {{WireColorHex|{{{2}}}}} 50%); border:1px solid #000; background-size:contain; float:right; margin-top: 2px;"></span> | |||
| {{WireColorName|{{{1}}}}} {{#ifeq: {{{1}}} | SHIELD | <span style="display:inline-block; width:1em; height:1em; border: 1px solid #000; float:right; margin-top: 2px; overflow: hidden;">[[File:Wirecolor_shield.gif|link=|top]]</span> | <span style="display:inline-block; width:1em; height:1em; background:{{WireColorHex|{{{1}}}}}; border:1px solid #000; background-size:contain; float:right; margin-top: 2px;"></span> }} | |||
}}</includeonly><noinclude> | |||
This template outputs a colour name and square, particularly for use in a table. | |||
{{WireColorName|G}} | == Single Colours == | ||
{{WireColorHex| | |||
{| 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 == | |||
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> |
Revision as of 09:51, 28 April 2025
This template outputs a colour name and square, particularly for use in a table.
Single Colours
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
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 |