Template:Place directory: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
| format=ul | | format=ul | ||
| headers=hide | | headers=hide | ||
| limit=150 | |||
}} | }} | ||
| {{#ask:[[Category:Places]][[Is active::true]] | | {{#ask:[[Category:Places]][[Is active::true]] | ||
Line 22: | Line 23: | ||
| format=ul | | format=ul | ||
| headers=hide | | headers=hide | ||
| limit=150 | |||
}} | }} | ||
| {{#ask:[[Category:Places]][[Is active::false]][[Has status::Closed||Inactive||Temporarily closed||Historic]] | | {{#ask:[[Category:Places]][[Is active::false]][[Has status::Closed||Inactive||Temporarily closed||Historic]] | ||
Line 29: | Line 31: | ||
| format=ul | | format=ul | ||
| headers=hide | | headers=hide | ||
| limit=150 | |||
}} | }} | ||
| {{#ask:[[Category:Places]][[Is active::false]][[Has status::Unknown]] | | {{#ask:[[Category:Places]][[Is active::false]][[Has status::Unknown]] | ||
Line 36: | Line 39: | ||
| format=ul | | format=ul | ||
| headers=hide | | headers=hide | ||
| limit=150 | |||
}} | }} | ||
|}</includeonly><!-- | |}</includeonly><!-- |
Latest revision as of 01:39, 28 September 2025
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 (16)
Imported | Active | Inactive | Unknown |
---|---|---|---|
TemplateData
Table display of imported, active, and inactive places in a region.
Parameter | Description | Type | Status | |
---|---|---|---|---|
City | city | The city to be queried. | String | optional |
State/province | state_province | The state/province to be queried. | String | optional |
Country | country | The country to be queried. | String | suggested |
Title | title | Optional title for the header (H3) used above the table (otherwise uses the most specific of the provided location names). | String | optional |