Difference between revisions of "Template:Location of US capital"

From blackwiki
Jump to navigation Jump to search
imported>Drdpw
(Reverted good faith edits by Randy Kryn (talk): Other entries use xxxx-xx formatting (TW))
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|name      = Location of US capital
 
|name      = Location of US capital
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
|title      = [[List of capitals in the United States|Location of the capital of the United States]] and predecessors
+
|title      = [[List of capitals in the United States|Location of the capital of the United States]]
|groupstyle = text-align:left;
+
|listclass = hlist
|liststyle  = width:100%;
 
|above      =
 
|below      =
 
  
|group1 = <span style="font-weight:normal; font-size:90%;">1774</span>{{spaces|3}}[[First Continental Congress]]
+
| group1 = [[Temporary capital]]s
|list1  = [[Philadelphia]]
+
| list1  =  
 +
* [[Philadelphia]]&nbsp;(1776;&nbsp;1777;&nbsp;1778–1783;&nbsp;1791–1800)
 +
* [[Baltimore]]&nbsp;(1776–77)
 +
* [[Lancaster, Pennsylvania|Lancaster]]&nbsp;(1777)
 +
* [[York, Pennsylvania|York]]&nbsp;(1777–78)
 +
* [[Princeton, New Jersey|Princeton]]&nbsp;(1783)
 +
* [[Annapolis, Maryland|Annapolis]]&nbsp;(1783–84)
 +
* [[Trenton, New Jersey|Trenton]]&nbsp;(1784–85)
 +
* [[New York City]]&nbsp;(1785–91)
  
|group2 = <span style="font-weight:normal; font-size:90%;">1775 – 1781</span>{{spaces|3}}[[Second Continental Congress]]
+
| group2 = [[Capital city|Permanent capital]]
|list2  = [[Philadelphia]]&nbsp;<big>→</big> [[Baltimore]]&nbsp;<big>→</big> [[Lancaster, Pennsylvania|Lancaster]]&nbsp;<big>→</big> [[York, Pennsylvania|York]]&nbsp;<big>→</big> [[Philadelphia]]
+
| list2  =
 
+
* [[Washington, D.C.]]&nbsp;(since 1800)
|group3 = <span style="font-weight:normal; font-size:90%;">1781 – 1789</span>{{spaces|3}}[[Congress of the Confederation]]
 
|list3  = [[Philadelphia]]&nbsp;<big>→</big> [[Princeton, New Jersey|Princeton]]&nbsp;<big>→</big> [[Annapolis, Maryland|Annapolis]]&nbsp;<big>→</big> [[Trenton, New Jersey|Trenton]]&nbsp;<big>→</big> [[New York City]]
 
 
 
|group4 = <span style="font-weight:normal; font-size:90%;">1789 – present</span>{{spaces|3}}[[Federal government of the United States]]
 
|list4  = [[New York City]]&nbsp;<big>→</big> [[Philadelphia]]&nbsp;<big>→</big> [[Washington, D.C.]]
 
  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 23:33, 22 January 2020

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Location of US capital|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Location of US capital|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Location of US capital|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.