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 16:37, 9 May 2026 by Eloise Zomia (talk | contribs) (Created page with "<onlyinclude><includeonly>[[Browse by {{{facet}}}/{{{value}}}|<span class="lw-browse-card"> <span class="lw-browse-card__image">{{#if:{{{image|}}}|[[File:{{{image}}}|400px|link=|alt=]]}}</span> <span class="lw-browse-card__body"> <span class="lw-browse-card__title">{{{value}}}</span> <span class="lw-browse-card__count">{{#ask:Category:Accessions [[Has {{{property|classification}}}::{{{value}}}]]|format=count}} accessions</span> <span class="lw-browse-card__desc">{{{d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
}}