Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:54, 10 May 2026 by Eloise Zomia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  1. Lead — one-line description with the country name in bold and a link to the main article
  2. Top pill nav — single back-to-facet-landing button on the left
  3. Accession table (5 columns: thumb, name, region, area, collected)
  4. 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}}}