Difference between revisions of "Template:Leander class cruiser 1931"

From blackwiki
Jump to navigation Jump to search
imported>Benea
(template style)
imported>WOSlinker
(use groupstyle rather than align|left)
 
(41 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{{Navbox
+
{{military navigation
|name   = Leander class cruiser 1931
+
| name     = Leander class cruiser 1931
|state  =
+
| title     = [[Leander-class cruiser (1931)|''Leander''-class cruisers]]
|title   = [[Leander class cruiser (1931)|''Leander'' class cruiser]]
+
| state    = {{{state|autocollapse}}}
|list1  = [[Royal Navy]] [[Image:Naval Ensign of the United Kingdom.svg|30px]]<br>[[HMNZS Achilles (70)|''Achilles'']]{{·}}[[HMS Ajax (22)|''Ajax'']]{{·}}[[HMAS Perth (1934)|''Amphion'']]{{·}}[[HMAS Hobart (1939)|''Apollo'']]{{·}}[[HMNZS Leander|''Leander'']]{{·}}[[HMS Neptune (20)|''Neptune'']]{{·}}[[HMS Orion (85)|''Orion'']]{{·}}[[HMAS Sydney (1934)|''Phaeton'']]
+
| style    = wide
|list2  = [[Royal Australian Navy]] [[Image:Naval Ensign of Australia.svg|30px]]<br>[[HMAS Hobart (1939)|''Hobart'' (ex-''Apollo'')]]{{·}}[[HMAS Perth (1934)|''Perth'' (ex-''Amphion'')]]{{·}}[[HMAS Sydney (1934)|''Sydney'' (ex-''Phaeton'')]]
+
| bodyclass = hlist
|list3  = [[Royal New Zealand Navy]] [[Image:Naval Ensign of New Zealand.svg|30px]]<br>[[HMNZS Achilles (70)|''Achilles'']]{{·}}[[HMNZS Leander |''Leander'']]
+
| groupstyle = text-align:left;
|list4  = [[Indian Navy]] [[Image:Naval Ensign of India.svg|30px]]<br>[[INS Delhi (1948)|''Delhi'' (ex-''Achilles'')]]
+
 
|below  = Preceded by:{{·}}Followed by:<br>[[List of cruisers of the Royal Navy]]<br>[[List of major warship classes of the Royal Australian Navy]]
+
| group1    = ''Leander'' class
 +
| list1      = {{Military navigation|border=child|style=wide
 +
| groupstyle = text-align:left;
 +
 
 +
| group1 = {{navy|United Kingdom}}
 +
| list1  =
 +
* {{HMNZS|Leander||2}}<!-- {{HMS|Leander|75|2}} -->
 +
* {{HMNZS|Achilles|70|2}}<!-- {{HMS|Achilles|70|2}} -->
 +
* {{HMS|Orion|85|2}}
 +
* {{HMS|Neptune|20|2}}
 +
* {{HMS|Ajax|22|2}}
 +
 
 +
| group2 = {{navy|India}}
 +
| list2  =
 +
* {{INS|Delhi|C74|2}} (ex-''Achilles'')
 +
 
 +
| group3 ={{navy|New Zealand|1941}}
 +
| list3  =
 +
* {{HMNZS|Leander||2}}
 +
* {{HMNZS|Achilles|70|2}}
 
}}
 
}}
<noinclude>
+
 
[[Category:United Kingdom military ship navigational boxes|{{PAGENAME}}]]
+
| group2 = ''Amphion'' class<br />(Modified ''Leander'' class)
[[Category:Australian military ship navigational boxes|{{PAGENAME}}]]
+
| list2  = {{Military navigation|border=child|style=wide
 +
| groupstyle = text-align:left;
 +
 
 +
| group2 = {{navy|United Kingdom}}
 +
| list2  =
 +
* [[HMAS Perth (D29)|''Amphion'']]<!-- {{HMS|Amphion|29|2}} -->
 +
* [[HMAS Sydney (D48)|''Phaeton'']]<!-- {{HMS|Phaeton|48|2}} -->
 +
* [[HMAS Hobart (D63)|''Apollo'']]<!-- {{HMS|Apollo|63|2}} -->
 +
 
 +
| group3 = {{navy|Australia|1913}}<br /><small>{{sclass-|Perth|cruiser|4}}</small>
 +
| list3  =
 +
* {{HMAS|Sydney|D48|2}} (ex-''Phaeton'')
 +
* {{HMAS|Hobart|D63|2}} (ex-''Apollo'')
 +
* {{HMAS|Perth|D29|2}} (ex-''Amphion'')
 +
}}
 +
 
 +
| list4 =
 +
* Preceded by: {{sclass-|Emerald|cruiser|4}}
 +
* Followed by: {{sclass-|Arethusa|cruiser (1934)|4}}
 +
 
 +
| below =
 +
* [[:Category:Cruisers of the Royal Navy|List of cruisers of the Royal Navy]]
 +
* [[:Category:Cruisers of the Royal Australian Navy|List of cruisers of the Royal Australian Navy]]
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Leander-class cruisers (1931)|~]]
 +
[[Category:United Kingdom military ship templates]]
 +
[[Category:Australia military ship templates]]
 +
[[Category:India military ship templates]]
 +
[[Category:New Zealand military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:58, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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