Template:PriorityColour
From WikiEducator
{{{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 (orangered):
- {{PriorityColour|priority=high}}
Priority colours include:
- high = orangered
- medium = orange
- low = yellow
The template also accepts a web colour name (such as purple, BlanchedAlmond, RosyBrown, etc.) and simply returns it.