Difference between revisions of "Template:Maryland year nav"

From blackwiki
Jump to navigation Jump to search
imported>M2545
(Created page with '{{Navbox | name=Maryland year nav |title=Years in Maryland (1788–present) {{flagicon|Maryland}} |...')
 
imported>M2545
(layout)
Line 4: Line 4:
 
|state= {{{state|autocollapse}}}
 
|state= {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|list1=
+
| group1 = 18th-19th century
 +
| list1 =
 
* [[:Category:1788 in Maryland|1788]]
 
* [[:Category:1788 in Maryland|1788]]
 
* [[:Category:1789 in Maryland|1789]]
 
* [[:Category:1789 in Maryland|1789]]
Line 118: Line 119:
 
* [[:Category:1899 in Maryland|1899]]
 
* [[:Category:1899 in Maryland|1899]]
 
* [[:Category:1900 in Maryland|1900]]
 
* [[:Category:1900 in Maryland|1900]]
 +
 +
| group2 = 20th century
 +
| list2 =
 
* [[:Category:1901 in Maryland|1901]]
 
* [[:Category:1901 in Maryland|1901]]
 
* [[:Category:1902 in Maryland|1902]]
 
* [[:Category:1902 in Maryland|1902]]
Line 218: Line 222:
 
* [[:Category:1999 in Maryland|1999]]
 
* [[:Category:1999 in Maryland|1999]]
 
* [[:Category:2000 in Maryland|2000]]
 
* [[:Category:2000 in Maryland|2000]]
 +
 +
| group3 = 21st century
 +
| list3 =
 
* [[:Category:2001 in Maryland|2001]]
 
* [[:Category:2001 in Maryland|2001]]
 
* [[:Category:2002 in Maryland|2002]]
 
* [[:Category:2002 in Maryland|2002]]

Revision as of 09:13, 1 October 2016

Initial visibility: currently defaults to autocollapse

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

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