Template:Place directory

From stencil.wiki
Revision as of 15:23, 5 March 2025 by Robertbaxter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a helper template for displaying a list of places within a region, broken up into their type categories (so that you can easily display active + inactive + imported places at the same time. It's meant to aid regional validation work: Help:Validating a place (and was created specifically for Atlas:Midwest.

Usage

This template can be called with values for country, state/province, and/or city. You can also optionally provide a title override for the header that appears above the table.

{{Place directory|country=United States|state_province=Michigan}}

Michigan (15)

Imported Active Inactive Unknown

TemplateData

Table display of imported, active, and inactive places in a region.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Citycity

The city to be queried.

Stringoptional
State/provincestate_province

The state/province to be queried.

Stringoptional
Countrycountry

The country to be queried.

Stringsuggested
Titletitle

Optional title for the header (H3) used above the table (otherwise uses the most specific of the provided location names).

Stringoptional