Template:WireColorName: Difference between revisions
GeorgeDewar (talk | contribs) Created page with "This is a helper template for WireColor. It returns the color name given a wire color code. <includeonly>{{#switch:{{{1}}} |B=Black |W=White |R=Red |G=Green |L=Blue |Y=Yellow |LG=Light Green |DG=Dark Green |BR=Brown |O=Orange |P=Pink |V=Violet |GR=Gray |SB=Sky Blue |LB=Light Blue |LA=Lavender |CH=Dark Brown |BG=Beige |{{1}} }}</includeonly>" |
GeorgeDewar (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}} | <includeonly>{{#switch:{{{1}}} | ||
|B=Black | |B=Black | ||
Line 19: | Line 18: | ||
|CH=Dark Brown | |CH=Dark Brown | ||
|BG=Beige | |BG=Beige | ||
|{{1}} | |SHIELD=Shield | ||
}}</includeonly> | |{{{1}}} | ||
}}</includeonly><noinclude> | |||
This is a helper template for WireColor. It returns the color name given a wire color code. | |||
For example, <code><nowiki>{{WireColorName|G}}</nowiki></code> returns <code>{{WireColorName|G}}</code>. | |||
See [[Template:WireColor]] for usage. | |||
</noinclude> |