Difference between revisions of "Template:Crown Colony 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      = Crown Colony class cruiser
|raw_name=Crown Colony class cruiser
+
| title     = {{sclass2-|Crown Colony|cruiser|1}}s
|title= {{sclass-|Crown Colony|cruiser|1}}s
+
| state     = {{{state|autocollapse}}}
|state= {{{state|autocollapse}}}
+
| style    = wide
|bodyclass = hlist
+
| bodyclass = hlist
  
|group1= ''Fiji''-group
+
| group1     = ''Fiji'' group
|list1={{Navbox subgroup
+
| list1     = {{Navbox subgroup
|groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  
|group1={{navy|United Kingdom|size=30x15px}}
+
| group1 = {{align|left|{{navy|United Kingdom}}}}
|list1=
+
| list1 =
* {{HMS|Bermuda|52|2}}
+
* {{HMS|Nigeria|60|2}}
 +
* {{HMS|Mauritius|80|2}}
 
* {{HMS|Fiji|58|2}}
 
* {{HMS|Fiji|58|2}}
 +
* {{HMS|Trinidad|46|2}}
 +
* {{HMS|Kenya|14|2}}
 +
* {{HMS|Jamaica|44|2}}
 
* {{HMS|Gambia|48|2}}
 
* {{HMS|Gambia|48|2}}
* {{HMS|Jamaica|44|2}}
+
* {{HMS|Bermuda|52|2}}
* {{HMS|Kenya|14|2}}
 
* {{HMS|Mauritius|80|2}}
 
* {{HMS|Nigeria|60|2}}
 
* {{HMS|Trinidad|46|2}}
 
  
|group2={{navy|India|size=30x15px}}
+
| group2 = {{align|left|{{navy|India}}}}
|list2= {{ship|INS|Mysore|1939|2}} (ex-{{HMS|Nigeria|60|2}})
+
| list2 =
 +
* {{ship|INS|Mysore|C60|2}} (ex-''Nigeria'')
  
|group3={{navy|New Zealand|1941|size=30x15px}}
+
| group3 = {{align|left|{{navy|New Zealand|1941}}}}
|list3= {{HMS|Gambia|48|2}}
+
| list3 =
 +
* {{HMS|Gambia|48|2}}<!-- {{HMNZS|Gambia||2}} -->
 
}}
 
}}
  
|group2= ''Ceylon''-group
+
| group2     = ''Ceylon'' group
|list2= {{Navbox subgroup
+
| list2     = {{Navbox subgroup
|groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  
|group1={{navy|United Kingdom|size=30x15px}}
+
| group2 = {{align|left|{{navy|United Kingdom}}}}
|list1=
+
| list2  =
 
* {{HMS|Ceylon|30|2}}
 
* {{HMS|Ceylon|30|2}}
 +
* {{HMS|Uganda|66|2}}
 
* {{HMS|Newfoundland|59|2}}
 
* {{HMS|Newfoundland|59|2}}
* {{HMS|Uganda|66|2}}
 
  
|group2={{navy|Canada|1911|size=30x15px}}
+
| group3 = {{align|left|{{navy|Canada|1911}}}}
|list2={{HMCS|Quebec|C66|2}} (ex-{{HMS|Uganda|66|2}})
+
| list3  =
 +
*  {{HMS|Uganda|66|2}}<!-- {{HMCS|Uganda|C66|2}} --> / {{HMCS|Quebec|C66|2}}
  
|group3={{navy|Peru|size=30x15px}}
+
| group4 = {{align|left|{{navy|Peru}}}}
|list3=
+
| list4  =
* {{ship|BAP|Capitán Quiñones|CL-83|2}} (ex-{{HMS|Newfoundland|59|2}})
+
* [[BAP Capitán Quiñones (CL-83)|''Almirante Grau'']]<!-- {{ship|BAP|Almirante Grau|CL-81|2}} --> / {{ship|BAP|Capitán Quiñones|CL-83|2}} (ex-''Newfoundland'')
* {{ship|BAP|Coronel Bolognesi|CL-82|2}} (ex-{{HMS|Ceylon|30|2}})
+
* {{ship|BAP|Coronel Bolognesi|CL-82|2}} (ex-''Ceylon'')
 
}}
 
}}
  
|below=
+
| list3 =
 
* Preceded by: {{sclass-|Dido|cruiser|4}}
 
* Preceded by: {{sclass-|Dido|cruiser|4}}
 
* Followed by: [[Minotaur-class cruiser (1943)|''Minotaur'' class]]
 
* Followed by: [[Minotaur-class cruiser (1943)|''Minotaur'' class]]
[[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:Crown Colony-class cruisers|~]]
 
[[Category:Crown Colony-class cruisers|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
 
+
[[Category:Canada military ship templates]]
 +
[[Category:India military ship templates]]
 +
[[Category:New Zealand military ship templates]]
 +
[[Category:Peru military ship templates]]
 
</noinclude>
 
</noinclude>

Revision as of 22:00, 30 October 2014

Initial visibility: currently defaults to autocollapse

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

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