Template:Browse/ElevationCard
Template page
More actions
Usage
Card template for an elevation band on the Browse by elevation facet landing. Unlike country, region, area, and appellation cards, elevation cards aren't iterated from an SMW category — there's no Category:Elevations because elevation is continuous. Cards are invoked manually, once per band, with explicit range parameters.
{{Browse/ElevationCard
|label=Highland
|range=1500–2500m
|min=1500
|max=2500
|image=Browse-elevation-highland.jpg
}}
Parameters
| Parameter | Description | Example |
|---|---|---|
label |
Display name of the band. Also forms the subpage URL. | Highland
|
range |
Display string for the elevation range. Shown as the card description under the title. | 1500–2500m
|
min |
Lower bound of the range in metres (inclusive). Used in the SMW count query. | 1500
|
max |
Upper bound of the range in metres (exclusive). Optional — omit for open-ended top band. | 2500
|
image |
Filename of the band's representative image. Empty value renders the placeholder colour. | Browse-elevation-highland.jpg
|
Count query
The card runs an inline SMW count: accessions with Has elevation in the range [min, max). If max is omitted, the upper bound is dropped — used for the top band (Alpine).
Card click target is the subpage at Browse by elevation/{label}.