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