Template:Browse/CountryRow
Template page
More actions
Usage
6-column accession row template for country subpages. Positional parameters from SMW:
{{{1}}}— accession page name (mainlabel, the SKU){{{2}}}— image filename{{{3}}}— growing region name{{{4}}}— growing area name{{{5}}}— collection date{{{6}}}— descriptive name (used as the display text in the name cell; falls back to SKU if unset){{{7}}}— classification
Cells render in table order, which differs from parameter order: thumbnail (2), name (1, 6), classification (7), region (3), area (4), collected (5). Parameter 7 was appended so the existing printout order in Template:Browse/CountrySubpage did not have to change.
Classification is plain text. Landrace IBL has no matching Browse by classification subpage, so a link would be dead for those rows.
The name cell shows the descriptive name with the page link target still pointing to the accession's SKU page, so clicking goes to the right place.