Template:Colour key/doc

TemplateData
{ "description": "Displaying a colour key", "params": { "1": { "label":      "Colour", "description": "Colour code of the area", "type":       "string", "required":   false, "default":    "black" },             "2":              { "label":       "Description", "description": "Explanation of the meaning of the colour", "type":       "string", "required":   false },             "3":              { "label":       "Colour name", "description": "Name of the colour if not standard", "type":       "string", "required":   false }           } }

Usage
The colour code is forwarded to the CSS property. Standard (named) web colours, such as, should preferably be used to aid clarity. It is also permitted, however, to use any other valid CSS code, e.g.,   or.

The optional parameter, "colour name" is shown as a tooltip as well as in printed and pdf views and is intended inter alia for colour blind users.