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
- Top pill nav with
lw-browse-nav--spread— back to facet landing on the left, link to the country's main article on the right, justified to opposite ends - One-line lead with the country name in bold and a link to the main article
- Accession table using the standard
.lw-browse-resultsstyling (5 columns: thumb, name, region, area, collected) - Bottom pill nav (mirror of top)
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}}}
Replace {Country} with the actual country page name.