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 country name in bold and a link to the main article
- Top pill nav (
lw-browse-nav--spread) — back to facet landing on the left, link to the main article on the right - Accession table using the standard
.lw-browse-resultsstyling (5 columns: thumb, name, region, area, collected) - Bottom pill nav (mirror of top)
The nav sits between the lead and the list rather than above the lead. This is the pattern for browse subpages from this point on — region, area and appellation subpages should follow the same order when built.
Table rows are rendered via Template:Browse/CountryRow from a SMW format=template query filtered by Has country. The query passes link=none so SMW returns bare values rather than wikilink-formatted output.
Parameters
| Parameter | Description | Example |
|---|---|---|
country |
Country page name. Used as the SMW filter, the heading bold, and the link target for both navigations and the lead. | Cambodia
|
Adding a new country subpage
Create the page at Browse by country/{Country} with a single line:
{{Browse/CountrySubpage|country={Country}}}