Difference between revisions of "Template:Cadmus class sloop"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Cadmus class sloop
 
|name    = Cadmus class sloop
|state  =  
+
|state  = {{{state|}}}
|title  = [[Cadmus class sloop|''Cadmus''-class sloop]]
+
|title  = {{sclass-|Cadmus|sloop|1}}s
|listclass = hlist
+
|bodyclass = hlist
|list1   =
+
 
* [[HMS Espiegle (1900)|''Espiegle'']]
+
|group1 = {{navy|United Kingdom}}
* [[HMS Fantome (1901)|''Fantome'']]
+
|list1 =
* [[HMS Merlin (1901)|''Merlin'']]
+
* {{HMS|Espiegle|1900|2}}
* [[HMS Odin (1901)|''Odin'']]
+
* {{HMS|Fantome|1901|2}}
* [[HMS Clio (1903)|''Clio'']]
+
* {{HMS|Merlin|1901|2}}
* [[HMS Cadmus (1903)|''Cadmus'']]
+
* {{HMS|Odin|1901|2}}
 +
* {{HMS|Clio|1903|2}}
 +
* {{HMS|Cadmus|1903|2}}
 +
 
 +
|group2= {{navy|Australia|1913}}
 +
|list2 =
 +
* {{HMS|Fantome|1901|2}}
 +
 
 
|belowclass = hlist
 
|belowclass = hlist
 
|below  =  
 
|below  =  
* Preceded by: [[Condor class sloop|''Condor'' class]]
+
* Preceded by: {{sclass-|Condor|sloop|4}}
* Followed by: [[World War I]] [[Flower class sloop|Flower class]]
+
* Followed by: {{sclass2-|Flower|sloop|4}}
  
 
* [[List of corvette and sloop classes of the Royal Navy]]
 
* [[List of corvette and sloop classes of the Royal Navy]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Cadmus-class sloops|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[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: {{Cadmus class sloop|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Cadmus class sloop|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Cadmus class sloop|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.