Template:Switch colour multi

From Deskthority wiki
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. Per Template:Switch colour but upgraded to better support colour overloading.

Example

==Colours==
{| class="switch-recognition-table"
{{ switch colour multi | #FF4400 | Red | Linear | Tactile }}
|}

Colours

  Red Linear
Tactile


Parameters

1
Switch colour in HTML format (HTML or CSS colour name, HTML colour code, or CSS rgb() tuple)
2
Colour name
3–9
Switch descriptions; parameters are displayed separated by newlines