Difference between revisions of "Template:Cavendish class cruiser"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Derekbridges
(fix formatting; add other ship names)
 
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|style=wide
+
| name      = Cavendish class cruiser
|raw_name=Cavendish class cruiser
+
| title    = {{sclass-|Hawkins|cruiser|1}}s
|state={{{state|}}}
+
| state     = {{{state|autocollapse}}}
|title={{sclass-|Hawkins|cruiser|1}}
+
| style    = wide
|bodyclass=hlist
+
| bodyclass = hlist
  
|list1=
+
| list1 =
* {{HMS|Effingham|D98|2}}
 
* {{HMS|Frobisher|D81|2}}
 
 
* {{HMS|Hawkins|D86|2}}
 
* {{HMS|Hawkins|D86|2}}
 +
* [[HMS Vindictive (1918)|''Cavendish'']]<!-- {{HMS|Cavendish|1918|2}} --> / {{HMS|Vindictive|1918|2}}{{I sup|C}}
 
* {{HMS|Raleigh|1919|2}}
 
* {{HMS|Raleigh|1919|2}}
* {{HMS|Vindictive|1918|2}}
+
* {{HMS|Frobisher|D81|2}}
 +
* {{HMS|Effingham|D98|2}}
  
|below=
+
| list2 =
 +
; C: Converted to aircraft carrier, later reconverted to cruiser
 +
 
 +
| list3 =
 
* Preceded by: None
 
* Preceded by: None
 
* Followed by: {{sclass2-|County|cruiser|4}}
 
* Followed by: {{sclass2-|County|cruiser|4}}
[[List of cruiser classes of the Royal Navy|List of cruisers of the Royal Navy]]
+
 
 +
| below =
 +
[[:Category:Cruisers of the Royal Navy|List of cruisers of the Royal Navy]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
 
[[Category:Hawkins-class cruisers|~]]
 
[[Category:Hawkins-class cruisers|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:21, 31 October 2014

Initial visibility: currently defaults to autocollapse

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

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