Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:23, 9 May 2026 by Eloise Zomia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Renders a clickable card for a facet landing page (e.g. Browse by classification). Whole card is clickable via a transparent z-index overlay. Image and text are visual only.

Body order follows the Home/Cards pattern: small-caps eyebrow (count) above the title.

Template wikitext is on a single line by design — multi-line div markup in templates causes empty <p> injection inside cards.

Image is requested at 1024px width to keep retina displays sharp. The CSS scales it down via object-fit: cover.

Parameters

Parameter Required Description
facet yes Facet name used in the link target. Lowercase. Examples: classification, conservation status.
value yes Value name. Used as card title and as the sub-page name. Examples: Landrace, Critical.
property no SMW property name (without the Has prefix) used for the count query. Defaults to classification.
image no Image filename. Falls back to placeholder colour if omitted.
description no One- or two-sentence description below the title.