Template:WireColorHex: Difference between revisions
Jump to navigation
Jump to search
GeorgeDewar (talk | contribs) No edit summary Tag: Reverted |
GeorgeDewar (talk | contribs) No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
This is a helper template for WireColor. It returns the hex code given a wire color code. | This is a helper template for WireColor. It returns the hex code given a wire color code. | ||
<includeonly>{{#switch:{{{1}}} | B = | <includeonly>{{#switch:{{{1}}} | ||
|B=#000000 | |||
|W=#FFFFFF | |||
|R=#FF0000 | |||
|G=#008000 | |||
|L=#0000FF | |||
|Y=#FFFF00 | |||
|LG=#90EE90 | |||
|DG=#006400 | |||
|BR=#A52A2A | |||
|O=#FF8C00 | |||
|P=#FFC0CB | |||
|V=#800080 | |||
|GR=#808080 | |||
|SB=#87CEEB | |||
|LB=#88B5EA | |||
|LA=#E6E6FA | |||
|CH=#8B0000 | |||
|BG=#F5F5DC | |||
|#000000 | |||
}}</includeonly> |
Revision as of 05:16, 28 April 2025
This is a helper template for WireColor. It returns the hex code given a wire color code.