Difference between revisions of "Template:Mackenzie class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>The Bushranger
(cat, dab)
imported>Derekbridges
(fix formatting)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Navbox
+
{{military navigation
|name = Mackenzie class destroyer
+
| name     = Mackenzie class destroyer
|title = {{sclass-|Mackenzie|destroyer|1}}s
+
| title     = {{sclass-|Mackenzie|destroyer|1}}s
|listclass = hlist
+
| state    = {{{state|autocollapse}}}
|group1  = {{navy|Canada}}<br> [[File:Naval Ensign of the United Kingdom.svg|border|link=|30px]]
+
| style    = wide
[[Royal Canadian Navy]]
+
| bodyclass = hlist
|list1 =
+
 
 +
| list1 =
 
* {{HMCS|Mackenzie|DDE 261|2}}
 
* {{HMCS|Mackenzie|DDE 261|2}}
 
* {{HMCS|Saskatchewan|DDE 262|2}}
 
* {{HMCS|Saskatchewan|DDE 262|2}}
 
* {{HMCS|Yukon|DDE 263|2}}
 
* {{HMCS|Yukon|DDE 263|2}}
 
* {{HMCS|Qu'Appelle|DDE 264|2}}
 
* {{HMCS|Qu'Appelle|DDE 264|2}}
|below = '''[[List of Canadian Navy ships|List of ships of the Canadian Navy]]'''
+
 
 +
| list2 =
 +
* Preceded by: {{sclass-|Restigouche|destroyer|4}}
 +
* Followed by: {{sclass-|Annapolis|destroyer|4}}
 +
 
 +
| below =
 +
* [[:Category:Destroyers of the Royal Canadian Navy|List of destroyers of the Royal Canadian Navy]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Mackenzie-class destroyers|~]]
 
[[Category:Mackenzie-class destroyers|~]]
 
[[Category:Canada military ship templates]]
 
[[Category:Canada military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:51, 4 November 2014

Initial visibility: currently defaults to autocollapse

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

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