Template:Kt2-display-lv-card

Purpose
The template displays a Liberating Voices pattern card given its title and theme (display style).

Usage
Use this template to display a Liberating Voices pattern card.

Syntax
Example:





Properties
The properties are drawn from /sub-pages of the card's page:

Properties which appear on the card:
/card-text - the text of the card

/image - the name (and just the name) of the image on Wikimedia Commons

/images - a page of alternative images for the card (used by annotated-lv-card)


 * - see How to source and link images on Wikimedia Commons

/text-by - attribution for the text (usually an author name)

/image-by - name of artist or photographer, etc.

/licence - not use as these cards are all licensed cc-by-sa

Other properties
The following are used by (e.g.) annotated-lv-card to display more about the card:

/psp-page</tt> - URL of the pattern card on the Public Sphere Project's web site

/linked-cards</tt> - links to other cards related to this one.

/status</tt> - not implemented yet.

Parameters

 * title - the title of the card corresponding to the name of the pattern it represents
 * theme - name of the theme to be used when displaying the card. The theme, defined in lv-card-theme, holds style attributes to be applied when displaying the card. A default theme, identifiable by a black dashed border around the card, is used if no theme is specified.

Examples
The syntax  </tt> produces (note the black dashed border indicating no theme was specified - using default):

The syntax  </tt> produces:

The syntax  </tt> produces:

To Do

 * Sort out the general case of a card whose name includes a prefix. Currently it only handles the prefix "LV:".
 * Check that annotated-lv-card uses the parameters correctly.
 * Suits - table border style - for each theme - perhaps just switch in lv-card-theme and pass suit to it.