Template:FSCSstatus colour

From WikiEducator
Jump to: navigation, search



This template is not usually used on its own but rather by other associated templates to set a status colour.

e.g. The following will return a colour name (lightgreen):

{{FSCSstatus colour|status=ready}}

status colours include:

  • ready = lightgreen
  • wip = Yellow
  • candidate = beige
  • pass = PeachPuff

The template also accepts a web colour name (such as purple, BlanchedAlmond, RosyBrown, etc.) and simply returns it. It is wise to include a key on pages using this template in case colours change - ensure the key changes too. Example from Free Software Case Studies/Inventory:

Status Colours: ready: ready and on-going wip: work in progress candidate: future candidate pass: shelved for now
Use the word in bold for 'status' to change the row colour