Template:US county navigation box/doc
Template:Template doc page viewed directly
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 | county = Baker County | state = Oregon | template_name = Baker County, Oregon | color = #ccf | map_image = Or-baker.png | map_size = 100x100 | seat = Baker City | title1 = Cities | body1 = {{Nowrap|[[Baker City, Oregon|Baker City]] {{!}}}} {{Nowrap|[[Greenhorn, Oregon|Greenhorn]] {{!}}}} {{Nowrap|[[Haines, Oregon|Haines]] {{!}}}} {{Nowrap|[[Halfway, Oregon|Halfway]] {{!}}}} {{Nowrap|[[Huntington, Oregon|Huntington]] {{!}}}} {{Nowrap|[[Richland, Oregon|Richland]] {{!}}}} {{Nowrap|[[Sumpter, Oregon|Sumpter]] {{!}}}} {{Nowrap|[[Unity, Oregon|Unity]] }} | title2 = Unincorporated communities | body2 = {{Nowrap|[[Bridgeport, Baker County, Oregon|Bridgeport]] {{!}}}} {{Nowrap|[[Brownlee, Oregon|Brownlee]] {{!}}}} {{Nowrap|[[Connor Creek, Oregon|Connor Creek]] {{!}}}} {{Nowrap|[[Copperfield, Oregon|Copperfield]] {{!}}}} {{Nowrap|[[Cornucopia, Oregon|Cornucopia]] {{!}}}} {{Nowrap|[[Cracker City, Oregon|Cracker City]] {{!}}}} {{Nowrap|[[Encina, Oregon|Encina]] {{!}}}} {{Nowrap|[[Erwin, Oregon|Erwin]] {{!}}}} {{Nowrap|[[Estes, Oregon|Estes]] {{!}}}} {{Nowrap|[[Granite, Oregon|Granite]] {{!}}}} {{Nowrap|[[Homestead, Oregon|Homestead]] {{!}}}} {{Nowrap|[[Jimtown, Oregon|Jimtown]] {{!}}}} {{Nowrap|[[Little Alps, Oregon|Little Alps]] {{!}}}} {{Nowrap|[[Oxbow, Oregon|Oxbow]] {{!}}}} {{Nowrap|[[Parkersville, Oregon|Parkersville]] {{!}}}} {{Nowrap|[[Pine Creek, Oregon|Pine Creek]] {{!}}}} {{Nowrap|[[Pleasant Valley, Oregon|Pleasant Valley]] {{!}}}} {{Nowrap|[[Pocahontas, Oregon|Pocahontas]] {{!}}}} {{Nowrap|[[Robinette, Oregon|Robinette]] {{!}}}} {{Nowrap|[[Rock Creek, Baker County, Oregon|Rock Creek]] {{!}}}} {{Nowrap|[[Sunset, Oregon|Sunset]] {{!}}}} | title3 = Farm Communities | body3 = {{Nowrap|[[Big Creek, Oregon|Big Creek]] {{!}}}} {{Nowrap|[[Durkee, Oregon|Durkee]] {{!}}}} {{Nowrap|[[Hereford, Oregon|Hereford]] {{!}}}} {{Nowrap|[[Hutchinson, Oregon|Hutchinson]] {{!}}}} {{Nowrap|[[Keating, Oregon|Keating]] {{!}}}} {{Nowrap|[[Lime, Oregon|Lime]] {{!}}}} {{Nowrap|[[McEwen, Oregon|McEwen]] {{!}}}} {{Nowrap|[[Medical Springs, Oregon|Medical Springs]] {{!}}}} {{Nowrap|[[Muddy Creek, Oregon|Muddy Creek]] {{!}}}} {{Nowrap|[[New Bridge, Oregon|New Bridge]] {{!}}}} {{Nowrap|[[Pine, Oregon|Pine]] {{!}}}} {{Nowrap|[[Wingville, Oregon|Wingville]] }} | title4 = Ghost Towns | body4 = {{Nowrap|[[Auburn, Oregon|Auburn]] {{!}}}} {{Nowrap|[[Bourne, Oregon|Bourne]] {{!}}}} {{Nowrap|[[Cableville, Oregon|Cableville]] {{!}}}} {{Nowrap|[[Carroll, Oregon|Carroll]] {{!}}}} {{Nowrap|[[Carson, Oregon|Carson]] {{!}}}} {{Nowrap|[[China Town, Oregon|China Town]] {{!}}}} {{Nowrap|[[Clarksville, Oregon|Clarksville]] {{!}}}} {{Nowrap|[[Encina, Oregon|Encina]] {{!}}}} {{Nowrap|[[Jett, Oregon|Jett]] {{!}}}} {{Nowrap|[[Rye Valley, Oregon|Rye Valley]] {{!}}}} {{Nowrap|[[Sanger, Oregon|Sanger]] {{!}}}} {{Nowrap|[[Sparta, Oregon|Sparta]] {{!}}}} {{Nowrap|[[Whitney, Oregon|Whitney]] {{!}}}} | title5 = Discontinued Post Offices | body5 = {{Nowrap|[[Anthony, Oregon|Anthony]] {{!}}}} {{Nowrap|[[Arthur, Oregon|Arthur]] {{!}}}} {{Nowrap|[[Audrey, Oregon|Audrey]] {{!}}}} {{Nowrap|[[Augusta, Oregon|Augusta]] {{!}}}} }}<noinclude> [[Category:Oregon county navigational boxes|{{PAGENAME}}]] [[Category:Baker County, Oregon| ]] </noinclude> |
|
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 180px). 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.