Difference between revisions of "Template:Calypso class corvette"

From blackwiki
Jump to navigation Jump to search
imported>Shem1805
(New template)
 
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Navbox
+
{{military navigation
|name    = Calypso class corvette
+
|style=wide
|state  =  
+
|raw_name=Calypso class corvette
|title  = [[Calypso class corvette|''Calypso''-class corvette]]
+
|state= {{{state|}}}
|list1  = {{HMS|Calypso|1883|2}}{{·}}{{HMS|Calliope|1884|2}}
+
|title={{sclass-|Calypso|corvette|1}}s
|below  = Preceded by: [[Comus class corvette|''Comus''-class corvette]]{{·}}Followed by: [[World War II]] [[Flower class corvette|''Flower''-class corvette]]<br>[[List of corvette and sloop classes of the Royal Navy]]
+
|listclass = hlist
}}
 
<noinclude>
 
  
[[Category:United Kingdom military ship templates|{{PAGENAME}}]]
+
|list1=
 +
* {{HMS|Calypso|1883|2}}
 +
* {{HMS|Calliope|1884|2}}
 +
 
 +
|belowclass = hlist
 +
|below=
 +
* Preceded by: {{sclass-|Comus|corvette|4}}
 +
* Followed by: {{sclass2-|Flower|corvette|4}}
 +
 
 +
* [[List of corvette and sloop classes of the Royal Navy]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Calypso-class corvettes|~]]
 +
[[Category:United Kingdom military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:46, 29 March 2013

Initial visibility: currently defaults to autocollapse

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

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