Difference between revisions of "Template:Alaska"

From blackwiki
Jump to navigation Jump to search
blackwiki>Kudzu1
blackwiki>Frietjes
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{US state navigation box
 
{{US state navigation box
 
| template_name = Alaska
 
| template_name = Alaska
| collapse_state = {{{<includeonly>1|autocollapse</includeonly><noinclude>expanded</noinclude>}}}
+
| collapse_state = {{{collapse_state|{{{<includeonly>1|autocollapse</includeonly>}}}}}}
  
 
| name = [[Alaska]]
 
| name = [[Alaska]]
Line 112: Line 112:
  
 
}}<noinclude>
 
}}<noinclude>
 
+
{{collapsible option|statename=optional}}
 
 
 
{{U.S. state templates}}
 
{{U.S. state templates}}
  
 
[[Category:Alaska navigational boxes| ]]
 
[[Category:Alaska navigational boxes| ]]
[[Category:United States state templates|{{PAGENAME}}]]
+
[[Category:United States state templates]]
[[Category:Arctic templates|{{PAGENAME}}]]
+
[[Category:Arctic templates]]
  
 
[[ar:قالب:ألاسكا]]
 
[[ar:قالب:ألاسكا]]

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

ar:قالب:ألاسكا be-x-old:Шаблён:Аляска ca:Plantilla:Alaska fr:Modèle:Palette Alaska hy:Կաղապար:Ալյասկա id:Templat:Negara bagian Alaska pam:Template:Alaska lmo:Mudel:Alaska ms:Templat:Alaska ja:Template:アラスカ州 no:Mal:Alaska pt:Predefinição:Alasca ro:Format:Alaska stat SUA ru:Шаблон:Аляска sk:Šablóna:Aljaška fi:Malline:Alaska sv:Mall:Alaska vi:Bản mẫu:Alaska war:Batakan:Alaska zh:Template:Alaska