Difference between revisions of "Template:DCMetroArea"

From blackwiki
Jump to navigation Jump to search
imported>Dunarc
(Category sort order)
 
(13 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
| name = DCMetroArea
 
| name = DCMetroArea
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| title = [[Washington, D.C.|Washington]]–[[Arlington County, Virginia|Arlington]]–[[Alexandria, Virginia|Alexandria]], DC–[[Virginia|VA]]–[[Maryland|MD]]–[[West Virginia|WV]] [[Washington metropolitan area|metropolitan area]]
+
| 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 =
 
| image =
 
[[File:2012-07-10 Washington Monument.jpg|95px|center|border|alt=The Washington Monument]]
 
[[File:2012-07-10 Washington Monument.jpg|95px|center|border|alt=The Washington Monument]]
Line 9: Line 9:
 
| listclass = hlist
 
| listclass = hlist
  
| group1 = Principal cities
+
| group1 = Principal cities (and <br> city-like entities)
 
| list1 =
 
| list1 =
 
   {{navbox|subgroup
 
   {{navbox|subgroup
Line 21: Line 21:
 
   |group2 = Virginia
 
   |group2 = Virginia
 
   |list2 =
 
   |list2 =
* [[Arlington County, Virginia|Arlington County]]
+
* [[Arlington County, Virginia|Arlington]]
 
* [[Alexandria, Virginia|Alexandria]]
 
* [[Alexandria, Virginia|Alexandria]]
 
* [[Reston, Virginia|Reston]]
 
* [[Reston, Virginia|Reston]]
   |group3 = D.C.
+
   |group3 = District of Columbia
 
   |list3 =
 
   |list3 =
 
* [[Washington, D.C.|Washington]]
 
* [[Washington, D.C.|Washington]]
 
   }}
 
   }}
  
| group5 = Counties and <br> county equivalents*
+
| group5 = Counties (and <br> county equivalents)
 
| list5  =
 
| list5  =
 
   {{navbox|subgroup
 
   {{navbox|subgroup
Line 58: Line 58:
 
* [[Stafford County, Virginia|Stafford]]
 
* [[Stafford County, Virginia|Stafford]]
 
* [[Warren County, Virginia|Warren]]
 
* [[Warren County, Virginia|Warren]]
   |group3 = Other
+
   |group3 = [[Washington, D.C.|District of Columbia]]
 
   |list3 =
 
   |list3 =
* [[Washington, D.C.|District of Columbia]]
+
* [[Washington, D.C.]] itself
* [[Jefferson County, West Virginia|Jefferson County, West Virginia]]
+
  |group4 = Other Outlying Areas
 +
  |list4 =
 +
* [[Jefferson County, West Virginia]]
 
  }}
 
  }}
 
| group6 =  
 
| 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.
+
| 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. Some [[unincorporated areas]] and [[census-designated place|census-designated places]] like [[Silver Spring, Maryland|Silver Spring]] and [[Bethesda, Maryland|Bethesda]] in Maryland, [[Reston, Virginia|Reston]] in Virginia, as well as the [[Arlington County, Virginia|County of Arlington]] in Virginia are also treated as city-like entities (or principal cities) even though they have not been legally incorporated as such.
 +
 
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:District of Columbia navigational boxes]]
+
[[Category:District of Columbia navigational boxes|Metropolitan area]]
 
[[Category:United States metropolitan area templates]]
 
[[Category:United States metropolitan area templates]]
 +
[[Category:Washington metropolitan area]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:40, 22 October 2020

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.