Difference between revisions of "Template:Alabama"

From blackwiki
Jump to navigation Jump to search
blackwiki>Addbot
m (Bot: Migrating 19 interwiki links, now provided by Wikidata on d:q6674580)
blackwiki>Frietjes
(adding {{collapsible option}} and/or {{{state}}})
Line 8: Line 8:
 
| flag_caption  = Flag of Alabama
 
| flag_caption  = Flag of Alabama
 
| template_name = Alabama
 
| template_name = Alabama
| collapse_state = <includeonly>{{{1|autocollapse}}}</includeonly><noinclude>expanded</noinclude>
+
| collapse_state = {{{collapse_state|{{{1<includeonly>|autocollapse</includeonly>}}}}}}
  
 
| title1 = [[Outline of Alabama|Topics]]
 
| title1 = [[Outline of Alabama|Topics]]
Line 192: Line 192:
  
 
}}<noinclude>
 
}}<noinclude>
 
+
{{collapsible option|statename=optional}}
  
 
{{U.S. state templates}}
 
{{U.S. state templates}}
  
 
[[Category:United States state templates]]
 
[[Category:United States state templates]]
[[Category:Alabama navigational boxes|Alabama navigational boxes]]
+
[[Category:Alabama navigational boxes]]
  
 
</noinclude>
 
</noinclude>

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