Difference between revisions of "Template:Annapolis class destroyer"

From blackwiki
Jump to navigation Jump to search
blackwiki>The Bushranger
(dab, sort)
m (17 revisions imported)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|style=wide
+
| name      = Annapolis class destroyer
|raw_name=Annapolis class destroyer
+
| title     = {{sclass-|Annapolis|destroyer|1}}s
|title={{sclass-|Annapolis|destroyer|1}}s
+
| state    = {{{state|autocollapse}}}
|listclass = hlist
+
| style    = wide
 +
| bodyclass = hlist
  
|group1={{navy|Canada|size=30x15px}}<br>[[File:Naval Ensign of the United Kingdom.svg|border|link=|30px]] [[Royal Canadian Navy]]
+
| list1 =
 
 
|list1=
 
 
* {{HMCS|Annapolis|DDH 265|2}}
 
* {{HMCS|Annapolis|DDH 265|2}}
 
* {{HMCS|Nipigon|DDH 266|2}}
 
* {{HMCS|Nipigon|DDH 266|2}}
  
|below='''[[List of Canadian Navy ships|List of ships of the Canadian Navy]]'''
+
| list2 =
 +
* Preceded by: {{sclass-|Mackenzie|destroyer|4}}
 +
* Followed by: {{sclass-|Iroquois|destroyer|4}}
 +
 
 +
| below =
 +
* [[:Category:Destroyers of the Royal Canadian Navy|List of destroyers of the Royal Canadian Navy]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:Annapolis class destroyers|~]]
+
{{collapsible option}}
 +
[[Category:Annapolis-class destroyers|~]]
 
[[Category:Canada military ship templates]]
 
[[Category:Canada military ship templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 12:41, 22 October 2020

Initial visibility: currently defaults to autocollapse

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

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