Template:US state navigation box
From Wikipedia, the free encyclopedia
[[Image:{{{flag_image}}}|75px|center|]] | {{{type}}} of {{{name}}} |
---|
[edit] Usage
This template is the master template for all of the United States state templates and territory templates (and DC). A sample is shown here:
{{US state navigation box | name = [[New York]] | type = [[U.S. State|State]] | template_name = New York | color = #ccccff | flag_image = Flag of New York.svg | flag_caption = Flag of New York | capital = [[Albany, New York|Albany]] | title1 = [[:Category:New York|Topics]] | body1 = [[History of New York|History]] {{pipe}} [[List of colleges and universities in New York|Education]] {{pipe}} [[Politics of New York|Politics]] {{pipe}} ... | title2 = [[Regions of the United States#New York|Regions]] | body2 = [[Adirondack Mountains|Adirondack Mountains]] {{pipe}} [[Capital District|Capital District]] {{pipe}} [[Catskill Mountains|Catskill Mountains]] {{pipe}} ... | title3 = [[List of cities in New York|Metros]] | body3 = [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]] {{pipe}} [[Binghamton, New York|Binghamton]] {{pipe}} [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]] {{pipe}} ... | title4 = | body4 = | title5 = | body5 = | title6 = | body6 = | title7 = | body7 = }}
State of New York Albany (capital) |
|
Topics | |
Regions |
Adirondack Mountains ǀ Capital District ǀ Catskill Mountains ǀ ... |
Metros |
Albany/Schenectady/Troy ǀ Binghamton ǀ Buffalo/Niagara Falls ǀ ... |
In addition, there are a few more optional parameters for special cases:
- "text_color" - , use this one 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 (see Template:Nevada, Template:Maine, and Template:Hawaii)
- "seat" - used for the seat of government for Template:American Samoa
- "subtitle" - used only for Template:District of Columbia to say "Capital of the United States" because DC has no capital of its own
- 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).