Difference between revisions of "Template:Maryland"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m
imported>Frietjes
(adding {{collapsible option}} and/or {{{state}}})
Line 8: Line 8:
 
| template_name = Maryland
 
| template_name = Maryland
 
| listclass = hlist
 
| listclass = hlist
| collapse_state = {{{1<includeonly>|autocollapse</includeonly>}}}
+
| collapse_state = {{{collapse_state|{{{1<includeonly>|autocollapse</includeonly>}}}}}}
  
 
| title1 = [[Outline of Maryland|Topics]]
 
| title1 = [[Outline of Maryland|Topics]]
Line 170: Line 170:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option|statename=optional}}
 
{{U.S. state templates}}
 
{{U.S. state templates}}
 
[[Category:United States state templates]]
 
[[Category:United States state templates]]

Revision as of 15:32, 5 April 2013

Template:US state navigation box Initial visibility: currently defaults to autocollapse

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

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

hy:Կաղապար:Մերիլենդ id:Templat:Negara bagian Maryland ja:Template:メリーランド州 no:Mal:Maryland pt:Predefinição:Maryland ro:Format:Maryland stat SUA ru:Шаблон:Мэриленд sv:Mall:Maryland war:Batakan:Maryland zh:Template:马里兰州