Template:USPlace
From Shadow Unit Wiki
The USPlace template will automatically generate category tags for the given place in both the Category:Places and Category:Places By US State categories.
Usage
To use this template, put the following somewhere on the place page:
{{USPlace|name=City|state=State}}
substituting the place's name for City and the state for State.
For example, if making a place page for Baltimore, Maryland, use the following:
{{USPlace|name=Baltimore|state=Maryland}}
This will produce the following:
- Baltimore, Maryland [[Category:Places]] [[Category:Places by US State|Maryland, Baltimore]]
The Category tags will be rendered at the bottom of the page, just like any other category tags. Baltimore will be sorted in the "B"s on the Category:Places page, and in the "M"s on the Category:Places By US State page.
Important: The name= and state= parts of the template (the parameter names) are case-sensitive.
Places in the US Where the State Name Isn't Part of the Place Name
For places in the US where the state name isn't part of the place's name (such as Johns Hopkins Medical Center), use the Template:USPlaceHideState template instead.
Places Not In the United States
For places that aren't in the United States, or places not associated with a particular state (such as the ACTF Jet), manually add the [[Category:Places]] markup.

