Difference between revisions of "Template:StatusColour"

From Free Knowledge Free Technology Wiki
Jump to: navigation, search
(Created page with "{{#switch: {{{status}}} | done = green <!-- | ahead = lightblue --> | not started = white | on hold = silver | ahead = li...")
 
(No difference)

Latest revision as of 14:07, 13 October 2014

{{{status}}}

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 (yellow):

{{StatusColour|status=on track}}

Status colours include:

  • done = green
  • not started = white
  • on hold = silver
  • ahead = lightgreen
  • on track = yellow
  • behind = orange
  • in trouble = red

The template also accepts a web colour name (such as purple, beige, etc.) and simply returns it.