Template:US county navigation box/doc
From Wikipedia
[edit] Usage
This template is the master template for all of the United States county/parish templates. A sample is shown here:
{{US county navigation box
| template_name = Chester County, Pennsylvania
| county = Chester County
| state = Pennsylvania
| seat = West Chester
| map_image = Map of Pennsylvania highlighting Chester County.svg
| map_caption =
| title1 = [[City|Cities]]
| body1 =
{{nowrap|[[Coatesville, Pennsylvania|Coatesville]]}}
| title2 = [[Borough|Boroughs]]
| body2 =
{{nowrap|[[Atglen, Pennsylvania|Atglen]] {{!}}}}
{{nowrap|[[Avondale, Pennsylvania|Avondale]] {{!}}}} ...
| title3 = [[Civil townships|Townships]]
| body3 =
{{nowrap|[[Birmingham Township, Pennsylvania|Birmingham]] {{!}}}}
{{nowrap|[[Caln Township, Pennsylvania|Caln]] {{!}}}} ...
| title4 = [[Unincorporated community|Communities]] and [[census-designated place|CDPs]]
| body4 =
{{nowrap|[[Chesterbrook, Pennsylvania|Chesterbrook]] {{!}}}}
{{nowrap|[[Devon-Berwyn, Pennsylvania|Devon-Berwyn]] {{!}}}} ...
}}<noinclude>
[[Category:"State" county navigational boxes|{{PAGENAME}}]]
</noinclude>
|
| Municipalities and Communities of Chester County, Pennsylvania County Seat: West Chester |
|
|---|---|
| Cities |
Coatesville |
| Boroughs |
Atglen Template:Pipe Avondale Template:Pipe Downingtown Template:Pipe Elverson Template:Pipe Honey Brook Template:Pipe Kennett Square Template:Pipe Malvern Template:Pipe Modena Template:Pipe Oxford Template:Pipe Parkesburg Template:Pipe Phoenixville Template:Pipe South Coatesville Template:Pipe Spring City Template:Pipe West Chester Template:Pipe West Grove |
| Townships |
Birmingham Template:Pipe Caln Template:Pipe Charlestown Template:Pipe East Bradford Template:Pipe East Brandywine Template:Pipe East Caln Template:Pipe East Coventry Template:Pipe East Fallowfield Template:Pipe East Goshen Template:Pipe East Marlborough Template:Pipe East Nantmeal Template:Pipe East Nottingham Template:Pipe East Pikeland Template:Pipe East Vincent Template:Pipe East Whiteland Template:Pipe Easttown Template:Pipe Elk Template:Pipe Franklin Template:Pipe Highland Template:Pipe Honey Brook Template:Pipe Kennett Template:Pipe London Britain Template:Pipe London Grove Template:Pipe Londonderry Template:Pipe Lower Oxford Template:Pipe New Garden Template:Pipe New London Template:Pipe Newlin Template:Pipe North Coventry Template:Pipe Penn Template:Pipe Pennsbury Template:Pipe Pocopson Template:Pipe Sadsbury Template:Pipe Schuylkill Template:Pipe South Coventry Template:Pipe Thornbury Template:Pipe Tredyffrin Template:Pipe Upper Oxford Template:Pipe Upper Uwchlan Template:Pipe Uwchlan Template:Pipe Valley Template:Pipe Wallace Template:Pipe Warwick Template:Pipe West Bradford Template:Pipe West Brandywine Template:Pipe West Caln Template:Pipe West Fallowfield Template:Pipe West Goshen Template:Pipe West Marlborough Template:Pipe West Nantmeal Template:Pipe West Nottingham Template:Pipe West Pikeland Template:Pipe West Sadsbury Template:Pipe West Vincent Template:Pipe West Whiteland Template:Pipe Westtown Template:Pipe Willistown |
| Communities and CDPs |
Chesterbrook Template:Pipe Devon-Berwyn Template:Pipe Exton Template:Pipe Kenilworth Template:Pipe Lionville-Marchwood Template:Pipe Paoli Template:Pipe South Pottstown Template:Pipe Thorndale Template:Pipe Toughkenamon Template:Pipe Unionville Template:Pipe West Goshen |
There are a total of 7 title/body pairs, so you can use up to "title7" and "body7" (of course, more can easily be added at any time).
Other optional parameters for special cases:
- map_size
- Use to set width of map image if different from default (currently 100px). Value is the number without "px", i.e.
| map_size = 80
- color
- Use this to change the default background color for the main title and sidebar titles, i.e.
color = #2e8b57
- text_color
- Use this to change the default text color for the main title and sidebar titles. Note that you will still need to manually change the color of any wikilinks using a span tag, i.e.
[[Unincorporated community|<span style="color:gold">Communities</span>]]
- collapse_state
autocollapse: (default) the navigation box will start out collapsed if there are two or more collapsible tables on the same page.collapsed: the navigation box will always start out in a collapsed state.- blank or anything other than the above (
expanded, etc.) : always start out in an expanded state.

