Template:Browse/AllAccessionsRow
Template page
More actions
Usage
Single-row template called from the format=template SMW query on the All accessions page. Six cells: thumbnail, linked descriptive name, linked classification, country, growing region, collection date.
Differs from Browse/AccessionRow by adding a classification column. Used only on All accessions, not on per-facet sub-pages where classification is implicit.
The classification cell links to the relevant Browse by classification/[Value] sub-page so users can pivot from a single accession into its classification group.
Template wikitext is multi-line because each row of a wikitext table needs cells on their own lines.
Required parameters from the calling query
| Parameter | Source | Notes |
|---|---|---|
accessionid |
?Has accession ID#-=accessionid |
Bare string. Used as link target and fallback name. |
name |
?Has descriptive name=name |
Falls back to accessionid; both empty falls to em-dash.
|
classification |
?Has classification=classification |
Text. Linked to Browse by classification/[Value].
|
country |
?Has country=country |
SMW auto-links. |
region |
?Has growing region=region |
SMW auto-links. |
collected |
?Has collection date=collected |
Date, SMW-formatted. |
image |
?Has image#-=image |
Bare filename. #- required so the value can be wrapped in [[File:...]].
|