Difference between revisions of "Template:Annapolis class destroyer"

From blackwiki
Jump to navigation Jump to search
blackwiki>Kralizec!
m (template sharpening, Replaced: {{ship|HMCS| → {{HMCS| (2) using AWB)
m (17 revisions imported)
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Navbox
+
{{military navigation
|name = Annapolis class destroyer
+
| name     = Annapolis class destroyer
|title = {{sclass|Annapolis|destroyer|1}}
+
| title     = {{sclass-|Annapolis|destroyer|1}}s
|group1  = {{navy|Canada}}<br>{{flagicon|Canada|naval-1957}} [[Royal Canadian Navy]]
+
| state    = {{{state|autocollapse}}}
|list1   = <center>{{HMCS|Annapolis|DDH 265|2}}{{·}}{{HMCS|Nipigon|DDH 266|2}}
+
| style    = wide
|below = '''[[List of ships of the Canadian Navy]]'''
+
| bodyclass = hlist
 +
 
 +
| list1 =
 +
* {{HMCS|Annapolis|DDH 265|2}}
 +
* {{HMCS|Nipigon|DDH 266|2}}
 +
 
 +
| 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>
 
+
{{collapsible option}}
[[Category:Canada military ship templates|{{PAGENAME}}]]
+
[[Category:Annapolis-class destroyers|~]]
 +
[[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.