Template:Browse/FacetCard
Template page
More actions
Usage
Renders a clickable card for the top-level Browse page. Whole card is clickable via the same z-index overlay pattern as Browse/Card. Differs from Browse/Card by accepting a free-form link parameter (so the card can point anywhere — facet landing pages, All accessions, Atlas, etc.) and by accepting an optional meta parameter for the eyebrow text in place of a hardcoded count query.
Template wikitext is on a single line by design — multi-line div markup in templates causes empty <p> injection inside cards.
Parameters
| Parameter | Required | Description |
|---|---|---|
name |
yes | Card title (e.g. Classification, All accessions).
|
link |
yes | Free-form link target. Examples: Browse by classification, All accessions, Atlas.
|
meta |
no | Eyebrow text above the title. Can include parser functions (e.g. {{#ask:...|format=count}}). Hidden if empty.
|
image |
no | Image filename. Falls back to placeholder colour if omitted. |
description |
no | One- or two-sentence description below the title. |
Example
{{Browse/FacetCard
| name = Classification
| link = Browse by classification
| meta = 5 types
| description = By genetic type: landrace, hybrid, feral, IBL, heirloom.
}}