Difference between revisions of "Template:ActiveSwedishNavyClasses"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>ÄDA - DÄP
(int'l prefix)
Line 20: Line 20:
 
|list2=
 
|list2=
 
* ''Gävle''  
 
* ''Gävle''  
* [[HMS Sundsvall (K24)|''Sundsvall'']]
+
* [[HSwMS Sundsvall (K24)|''Sundsvall'']]
  
 
|group3=[[Visby class corvette|''Visby''-class]]
 
|group3=[[Visby class corvette|''Visby''-class]]
Line 70: Line 70:
 
|group4=Auxiliaries
 
|group4=Auxiliaries
 
|list4=
 
|list4=
* {{HMS|Belos|A214|2}}
+
* {{HSwMS|Belos|A214|2}}
 
* {{HSwMS|Visborg|A265|2}}
 
* {{HSwMS|Visborg|A265|2}}
* {{HMS|Carlskrona|M04|2}}
+
* {{HSwMS|Carlskrona|M04|2}}
* {{HMS|Orion |A201|2}}
+
* {{HSwMS|Orion |A201|2}}
 
* {{HSwMS|Trossö|A264|2}}
 
* {{HSwMS|Trossö|A264|2}}
  

Revision as of 05:23, 10 June 2013

Initial visibility: currently defaults to autocollapse

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

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