Template:WireColorHex: Difference between revisions

From Nissan Leaf Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>This is a helper template for WireColor. It returns the hex code given a wire color code.</noinclude>
<noinclude>This is a helper template for WireColor. It returns the hex code given a wire color code.</noinclude>
<includeonly>{{#switch:{{{1}}}
<includeonly>{{{#switch:{{{1}}}
|B=#000000
|B=#000000
|W=#FFFFFF
|W=#FFFFFF
Line 20: Line 20:
|BG=#F5F5DC
|BG=#F5F5DC
|#000000
|#000000
}}</includeonly>
}}}</includeonly>

Revision as of 05:17, 28 April 2025

This is a helper template for WireColor. It returns the hex code given a wire color code.