Jump to content

Template:US state navigation box/testcases

From Wikipedia, the free encyclopedia
New York
{{US state navigation box
| template_name = New York (state)
| title   = [[U.S. State|State]] of [[New York (state)|New York]]
| capital = [[Albany, New York|Albany]]
| flag_image   = Flag of New York.svg
| flag_caption = Flag of New York
| listclass = hlist

| group1 = [[:Category:New York (state)|Topics]]
| body1  =
* [[History of New York (state)|History]]  
* [[List of colleges and universities in New York (state)|Education]] 
* [[Politics of New York (state)|Politics]]   ...

| group2 = [[List of regions of the United States#New York|Regions]]
| body2  =
* [[Adirondack Mountains]] 
* [[Capital District, New York|Capital District]] 
* [[Catskill Mountains]]   ...

| group3 = [[List of cities in New York|Metro areas]]
| body3  = 
* [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]]  
* [[Binghamton, New York|Binghamton]] 
* [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]]   ...
}}
Expanded code
<div class="navbox-styles">'"`UNIQ--templatestyles-0000000B-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="State_of_New_York" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-00000008-QINU`"''"`UNIQ--templatestyles-00000009-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:New York (state)|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[Template talk:New York (state)|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:New York (state)|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="State_of_New_York" style="font-size:114%;margin:0 4em">[[U.S. State|State]] of [[New York (state)|New York]]</div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>'''[[Albany, New York|Albany]]''' (capital)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[:Category:New York (state)|Topics]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[History of New York (state)|History]] * [[List of colleges and universities in New York (state)|Education]] * [[Politics of New York (state)|Politics]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of regions of the United States#New York|Regions]]</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Adirondack Mountains]] * [[Capital District, New York|Capital District]] * [[Catskill Mountains]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of cities in New York|Metro areas]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]] * [[Binghamton, New York|Binghamton]] * [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]] ... </div></td></tr></table></div>
<div class="navbox-styles">'"`UNIQ--templatestyles-0000000E-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="State_of_New_York" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-0000000C-QINU`"''"`UNIQ--templatestyles-0000000D-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:New York (state)|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[Template talk:New York (state)|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:New York (state)|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="State_of_New_York" style="font-size:114%;margin:0 4em">[[U.S. State|State]] of [[New York (state)|New York]]</div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>'''[[Albany, New York|Albany]]''' (capital)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[:Category:New York (state)|Topics]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[History of New York (state)|History]] * [[List of colleges and universities in New York (state)|Education]] * [[Politics of New York (state)|Politics]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of regions of the United States#New York|Regions]]</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Adirondack Mountains]] * [[Capital District, New York|Capital District]] * [[Catskill Mountains]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of cities in New York|Metro areas]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]] * [[Binghamton, New York|Binghamton]] * [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]] ... </div></td></tr></table></div>
Ohio
{{US state navigation box
| name = [[Ohio]]
| type = [[U.S. state|State]]
| capital = [[Columbus, Ohio|Columbus]]
| listclass = hlist
| template_name = Ohio
| collapse_state = {{{collapse_state|{{{1<includeonly>|autocollapse</includeonly>}}}}}}
| group1 = [[Index of Ohio-related articles|Topics]]
| body1 =
* [[History of Ohio|History]]
* [[Ohio#Geography|Geography]]
* [[List of people from Ohio|People]]
* ...
| group2 = Society
| body2 =
* [[:Category:Ohio culture|Culture]]
* [[Crime in Ohio|Crime]]
* [[Ohio#Demographics|Demographics]]
* ...
| group3 = [[List of regions of the United States#Ohio|Regions]]
| body3 =
* [[Allegheny Plateau]]
* [[Appalachian Ohio]]
* [[Great Black Swamp|Black Swamp]]
* ...
| group4 = ...
| body4 = ...
}}
Expanded code
<div class="navbox-styles">'"`UNIQ--templatestyles-00000016-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="State_of_Ohio" style="padding:3px"><table class="nowraplinks mw-collapsible {{{1}}} navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-00000014-QINU`"''"`UNIQ--templatestyles-00000015-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:Ohio|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[Template talk:Ohio|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:Ohio|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="State_of_Ohio" style="font-size:114%;margin:0 4em">[[U.S. state|State]] of [[Ohio]]</div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>'''[[Columbus, Ohio|Columbus]]''' (capital)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[Index of Ohio-related articles|Topics]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[History of Ohio|History]] * [[Ohio#Geography|Geography]] * [[List of people from Ohio|People]] * ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Society</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[:Category:Ohio culture|Culture]] * [[Crime in Ohio|Crime]] * [[Ohio#Demographics|Demographics]] * ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of regions of the United States#Ohio|Regions]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Allegheny Plateau]] * [[Appalachian Ohio]] * [[Great Black Swamp|Black Swamp]] * ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">...</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">...</div></td></tr></table></div>
<div class="navbox-styles">'"`UNIQ--templatestyles-00000019-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="State_of_Ohio" style="padding:3px"><table class="nowraplinks mw-collapsible {{{1}}} navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-00000017-QINU`"''"`UNIQ--templatestyles-00000018-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:Ohio|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[Template talk:Ohio|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:Ohio|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="State_of_Ohio" style="font-size:114%;margin:0 4em">[[U.S. state|State]] of [[Ohio]]</div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>'''[[Columbus, Ohio|Columbus]]''' (capital)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[Index of Ohio-related articles|Topics]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[History of Ohio|History]] * [[Ohio#Geography|Geography]] * [[List of people from Ohio|People]] * ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Society</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[:Category:Ohio culture|Culture]] * [[Crime in Ohio|Crime]] * [[Ohio#Demographics|Demographics]] * ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of regions of the United States#Ohio|Regions]]</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Allegheny Plateau]] * [[Appalachian Ohio]] * [[Great Black Swamp|Black Swamp]] * ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">...</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="width:100%;padding:0"><div style="padding:0 0.25em">...</div></td></tr></table></div>
New York 2
{{US state navigation box
| template_name = New York (state)
| title   = [[U.S. State|State]] of [[New York (state)|New York]]
| capital = [[Albany, New York|Albany]]
| flag_image   = Flag of New York.svg
| flag_caption = Flag of New York

| group1 = [[:Category:New York (state)|Topics]]
| body1  =
* [[History of New York (state)|History]]  
* [[List of colleges and universities in New York (state)|Education]] 
* [[Politics of New York (state)|Politics]]   ...

| group2 = [[List of regions of the United States#New York|Regions]]
| body2  =
* [[Adirondack Mountains]] 
* [[Capital District, New York|Capital District]] 
* [[Catskill Mountains]]   ...

| group3 = [[List of cities in New York|Metro areas]]
| body3  = 
* [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]]  
* [[Binghamton, New York|Binghamton]] 
* [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]]   ...
}}
Expanded code
<div class="navbox-styles">'"`UNIQ--templatestyles-00000020-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="State_of_New_York" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-0000001E-QINU`"''"`UNIQ--templatestyles-0000001F-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:New York (state)|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[Template talk:New York (state)|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:New York (state)|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="State_of_New_York" style="font-size:114%;margin:0 4em">[[U.S. State|State]] of [[New York (state)|New York]]</div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>'''[[Albany, New York|Albany]]''' (capital)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[:Category:New York (state)|Topics]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[History of New York (state)|History]] * [[List of colleges and universities in New York (state)|Education]] * [[Politics of New York (state)|Politics]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of regions of the United States#New York|Regions]]</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Adirondack Mountains]] * [[Capital District, New York|Capital District]] * [[Catskill Mountains]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of cities in New York|Metro areas]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]] * [[Binghamton, New York|Binghamton]] * [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]] ... </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>[[Portal:New York|Portal]]</div></td></tr></table></div>
<div class="navbox-styles">'"`UNIQ--templatestyles-00000023-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="State_of_New_York" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-00000021-QINU`"''"`UNIQ--templatestyles-00000022-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:New York (state)|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[Template talk:New York (state)|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:New York (state)|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="State_of_New_York" style="font-size:114%;margin:0 4em">[[U.S. State|State]] of [[New York (state)|New York]]</div></th></tr><tr><td class="navbox-abovebelow" colspan="2"><div>'''[[Albany, New York|Albany]]''' (capital)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[:Category:New York (state)|Topics]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[History of New York (state)|History]] * [[List of colleges and universities in New York (state)|Education]] * [[Politics of New York (state)|Politics]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of regions of the United States#New York|Regions]]</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Adirondack Mountains]] * [[Capital District, New York|Capital District]] * [[Catskill Mountains]] ... </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">[[List of cities in New York|Metro areas]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> * [[Albany, New York|Albany]]/[[Schenectady, New York|Schenectady]]/[[Troy, New York|Troy]] * [[Binghamton, New York|Binghamton]] * [[Buffalo, New York|Buffalo]]/[[Niagara Falls, New York|Niagara Falls]] ... </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div>[[Portal:New York|Portal]]</div></td></tr></table></div>