Template:Template:Box Theme Attribute

From WikiEducator
Jump to: navigation, search


A template to obtain properties of named themes for use anywhere.

Syntax:

{{Box Theme Attribute|name=<name of theme>|property=<name of property>

returns a colour for a property - e.g. {{Box Theme Attribute|name=sandy|property=border}} returns orange.

properties include: border, background, foreground, titleforeground, titlebackground, ...

Existing themes are illustrated here: here.

Issues

  • Images in boxes?
{{Box Theme Attribute
| theme =
| box attribute =
}}

Attribution

Based on Wikiversity equivalent but excludes round box template and images.