Difference between revisions of "Template:DCMetroArea"

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
imported>Tom harrison
m (Reverted edits by 2600:8805:9805:7A00:A874:7B67:1BB:CE6F (talk) to last version by Dcflyer)
Line 1: Line 1:
 +
{{Navbox
 +
| name = DCMetroArea
 +
| state = {{{state|autocollapse}}}
 +
| title = [[Washington, D.C.|Washington]]–[[Arlington County, Virginia|Arlington]]–[[Alexandria, Virginia|Alexandria]], [[Washington, D.C.|DC]]–[[Virginia|VA]]–[[Maryland|MD]]–[[West Virginia|WV]] [[DC metropolitan area|metropolitan area]]
 +
| image =
 +
[[File:2012-07-10 Washington Monument.jpg|95px|center|border|alt=The Washington Monument]]
 +
[[File:The Pentagon US Department of Defense building.jpg|95px|center|border|alt=The Pentagon]]
  
 +
| listclass = hlist
 +
 +
| group1 = Principal cities
 +
| list1 =
 +
  {{navbox|subgroup
 +
  |group1 = Maryland
 +
  |list1 =
 +
* [[Silver Spring, Maryland|Silver Spring]]
 +
* [[Frederick, Maryland|Frederick]]
 +
* [[Rockville, Maryland|Rockville]]
 +
* [[Bethesda, Maryland|Bethesda]]
 +
* [[Gaithersburg, Maryland|Gaithersburg]]
 +
  |group2 = Virginia
 +
  |list2 =
 +
* [[Arlington County, Virginia|Arlington County]]
 +
* [[Alexandria, Virginia|Alexandria]]
 +
* [[Reston, Virginia|Reston]]
 +
  |group3 = District of Columbia
 +
  |list3 =
 +
* [[Washington, D.C.|Washington]]
 +
  }}
 +
 +
| group5 = Counties and <br> county equivalents*
 +
| list5  =
 +
  {{navbox|subgroup
 +
  |group1 = Maryland
 +
  |list1 =
 +
* [[Calvert County, Maryland|Calvert]]
 +
* [[Charles County, Maryland|Charles]]
 +
* [[Frederick County, Maryland|Frederick]]
 +
* [[Montgomery County, Maryland|Montgomery]]
 +
* [[Prince George's County, Maryland|Prince George's]]
 +
  |group2 = Virginia
 +
  |list2 =
 +
* [[Arlington County, Virginia|Arlington]]
 +
** [[Alexandria, Virginia|Alexandria city]]
 +
* [[Clarke County, Virginia|Clarke]]
 +
* [[Culpeper County, Virginia|Culpeper]]
 +
* [[Fairfax County, Virginia|Fairfax]]
 +
** [[Fairfax, Virginia|Fairfax city]]
 +
** [[Falls Church, Virginia|Falls Church city]]
 +
* [[Fauquier County, Virginia|Fauquier]]
 +
* [[Loudoun County, Virginia|Loudoun]]
 +
* [[Prince William County, Virginia|Prince William]]
 +
** [[Manassas, Virginia|Manassas city]]
 +
** [[Manassas Park, Virginia|Manassas Park city]]
 +
* [[Rappahannock County, Virginia|Rappahannock]]
 +
* [[Spotsylvania County, Virginia|Spotsylvania]]
 +
** [[Fredericksburg, Virginia|Fredericksburg city]]
 +
* [[Stafford County, Virginia|Stafford]]
 +
* [[Warren County, Virginia|Warren]]
 +
  |group3 = Other
 +
  |list3 =
 +
* [[Washington, D.C.|District of Columbia]]
 +
* [[Jefferson County, West Virginia]]
 +
}}
 +
| group6 =
 +
| list6  =The District of Columbia itself, and [[Independent city (Virginia)|Virginia's incorporated cities]], are [[County-equivalent|county equivalents]]. Virginia's incorporated cities are listed under their surrounding county. The incorporated cities bordering more than one county ([[Alexandria, Virginia|Alexandria]], [[Falls Church, Virginia|Falls Church]] and [[Fredericksburg, Virginia|Fredericksburg]]) are listed under the county they were part of before incorporation as a city.
 +
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:District of Columbia navigational boxes]]
 +
[[Category:United States metropolitan area templates]]
 +
[[Category:Washington metropolitan area]]
 +
</noinclude>

Revision as of 10:05, 31 March 2019

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{DCMetroArea|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{DCMetroArea|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{DCMetroArea|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.