Difference between revisions of "Template:EffortColour"

From Free Knowledge Free Technology Wiki
Jump to: navigation, search
(Created page with "{{#switch: {{{effort}}} | none = lightgreen | done = green | trivial = silver | easy = lightblue | medium = yellow...")
 
(No difference)

Latest revision as of 13:06, 13 October 2014

{{{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.