Template:EffortColour
From WikiEducator
{{{effort}}}
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 (lightblue):
- {{EffortColour|effort=easy}}
Effort colours include:
- none = lightgreen
- done = green
- trivial = silver
- easy = lightblue
- medium = yellow
- routine = yellow
- tricky = orange
- unknown = red - i.e. we have no idea how to do this.
The template also accepts a web colour name (such as purple, beige, RosyBrown, etc.) and simply returns it.