Template:Lv-acard-theme

Purpose
A template to obtain styles for the table in annotated-lv-card containing an annotated Liberating Voices card). Themes are simply a combination of styles, usually for table elements containing titles, text, images, etc..

Some themes are illustrated here - a test area for Liberating Voices cards.

Usage
Don't use it - likely to be abandoned in favour of combining with lv-card-theme.

The template is designed for use with annotated-lv-card which contains a Liberating Voices card. The card itself may be displayed with a theme by display-lv-card and it is probably best to set up matching themes here (or combine them in one them template. So far, this template only has values for the whole table and its header row.

In general the returned value should go into a style descriptor for a table element (for e.g.) - i.e. replacing the three dots in 'style = "..."'. If the theme is not defined or the property is not defined, it returns an empty string.

Syntax'''
 

Theme names are defined within this template.

The properties are usually style descriptions for elements of the table containing the card including:


 * table-style - a style for the whole table (default: class = "wikitable")
 * header-row - a style for the header row

The following additional properties are not style descriptions:


 * image-size - size of image in px (default is 400)

For example

returns.

Issues

 * Mixing styles for annotated-lv-card and display-lv-card. Combine? Get status colour from template using /status (whose contents refer to that template).

Attribution
Adapted from Box_Theme_Attribute which was derived from from WikiVersity.