Template:Browse/TileCard/body
Template page
More actions
Usage
Draws one Browse tile, or with bare=1 one item of the plain list that follows the tiles. Called by Template:Browse/TileCard and Template:Browse/TileLink, which count the accessions first; not called from pages directly. MediaWiki:FacetBrowser.js's tile renderer draws the same markup: change both together.
| Parameter | Meaning |
|---|---|
n |
accessions naming the place |
page |
the place |
image |
file name of its photo, or empty |
region, province, country |
the place's own values. When all three are empty, the line is read off its accessions: growing region, state and country for a growing area; the country for a growing region; the growing area and country for an appellation; nothing for a country |
kind |
kind of place, lower case (growing area, growing region, country, appellation): the accessions' property is Has + kind, the subpage Browse by + kind + / + page. An appellation's name is shown without its (appellation) suffix (Module:Appellation)
|
bare |
any value: a list item (link and count) instead of a tile |
Nothing here calls #time; every empty field is guarded.
Template wikitext is on a single line by design.