Template:Browse/CountrySubpage
Template page
More actions
Usage
Generates a country-specific accession browsing subpage. Each subpage at Browse by country/{Country} is a one-line invocation:
{{Browse/CountrySubpage|country=Cambodia}}
Output order
- Lead — one-line description with the country name in bold and a link to the main article
- Top pill nav — single back-to-facet-landing button on the left
- Accession table (5 columns: thumb, name, region, area, collected)
- Bottom pill nav — mirror of top
The right-hand pill linking to the main article was dropped — the lead already links there.
Pill nesting
Pills use link-wraps-span structure:
[[Page|<span class="lw-browse-nav__btn">Text</span>]]
This is required so the span's color: #2b6238 wins against the link's default link colour. The reverse nesting (span around link) leaks blue link colour through.
Parameters
| Parameter | Description | Example |
|---|---|---|
country |
Country page name. Used as the SMW filter, the heading bold, and the link target in the lead. | Cambodia
|
Adding a new country subpage
Create the page at Browse by country/{Country} with a single line:
{{Browse/CountrySubpage|country={Country}}}