Difference between revisions of "Template:PriorityColour"
From Free Knowledge Free Technology Wiki
(Created page with "{{#switch: {{{priority}}} | high = red | medium = orange | low = yellow | {{{priority}}} <!--assume a colour was entered--> }}<noin...") |
(No difference)
|
Latest revision as of 13:05, 13 October 2014
{{{priority}}}
Usage
This template is not usually used on its own but rather by other associated templates such as Template:Issue.
e.g. The following will return a colour name (red):
- {{PriorityColour|priority=high}}
Priority colours include:
- high = red
- medium = orange
- low = yellow
The template also accepts a web colour name (such as purple, BlanchedAlmond, RosyBrown, etc.) and simply returns it.