Template:Switch colour
Jump to navigation
Jump to search
Switch recognition block colour row template. Generates a MediaWiki table row, and expects the enclosing table to be of class switch-recognition-table.
Example
==Colours== {| class="switch-recognition-table" {{ switch colour | #FF2000 | '''Red:''' Linear switch | Also includes LED variant }} |}
Colours
Red: Linear switch Also includes LED variant |
Parameters
- 1
- Switch colour in HTML format (HTML or CSS colour name, HTML colour code, or CSS rgb() tuple)
- 2–9
- Switch description; parameters are displayed separated by newlines