Template:Browse/Card
Template page
More actions
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.
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 count. |