Template:Box Theme Attribute

Purpose
A template to obtain properties of named colour themes for use anywhere. This enables the creation of other templates which may apply a theme. Themes are simply a combination of foreground and background colours, usually for text blocks, titles and borders. They may be extended to cover other presentation attributes.

Syntax
Existing theme names, illustrated here, include blacktie, blues, gaia, goldy, greyday, khaki, lite, sandy, sandyblueslate, smart and swiss (at last check 20 Nov 2009).

Properties include: border, background, foreground, titleforeground and titlebackground.

The above returns (usually) a colour for a property. For example

returns.

Issues

 * It would be easier if style sheets could be used for this purpose - but not everyone can create WikiEducator style sheets (access restrictions).

Attribution
Same (adapted) from WikiVersity.