Template:Browse/Card
Template page
More actions
Usage
Renders a card for a facet landing page (e.g. Browse by classification). The card is a wikilink to the sub-page Browse by {{{facet}}}/{{{value}}}, displaying an image, title, accession count, and description.
Parameters
| Parameter | Required | Description |
|---|---|---|
facet |
yes | Facet name used in the link target. Lowercase. Examples: classification, conservation status, elevation.
|
value |
yes | Value name. Used as card title and as the sub-page name. Examples: Landrace, Critical, >2500m.
|
property |
no | SMW property name (without the Has prefix) used for the count query. Defaults to classification. Examples: conservation priority, elevation.
|
image |
no | Image filename (without File: prefix). Falls back to the placeholder colour if omitted.
|
description |
no | One- or two-sentence description shown below the count. |
Example
{{Browse/Card
| facet = classification
| value = Landrace
| image = Browse-classification-landrace.jpg
| description = Populations adapted to a specific region over generations.
}}