Difference between revisions of "Template:A class destroyer"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>Derekbridges
(fix formatting)
Line 6: Line 6:
 
|bodyclass=hlist
 
|bodyclass=hlist
  
|group1={{navy|UK|size=30x15px}}
+
| group1 = {{align|left|{{navy|UK}}}}
|list1=
+
| list1 =
* {{HMS|Codrington|D65|2}} (leader)
+
* {{HMS|Codrington|D65|2}} [leader]
* {{HMS|Acasta|H09|2}}
+
* {{HMS|Anthony|H40|2}}
* {{HMS|Achates|H12|2}}
+
* {{HMS|Ardent|H41|2}}
* {{HMS|Acheron|H45|2}}
 
 
* {{HMS|Active|H14|2}}
 
* {{HMS|Active|H14|2}}
 
* {{HMS|Antelope|H36|2}}
 
* {{HMS|Antelope|H36|2}}
* {{HMS|Anthony|H40|2}}
+
* {{HMS|Acasta|H09|2}}
* {{HMS|Ardent|H41|2}}
 
 
* {{HMS|Arrow|H42|2}}
 
* {{HMS|Arrow|H42|2}}
 +
* {{HMS|Acheron|H45|2}}
 +
* {{HMS|Achates|H12|2}}
  
|group2=[[Image:Naval Ensign of the United Kingdom.svg|25px]]<br><small>part of {{sclass2-|Canadian River|destroyer|4}}</small>
+
| group2 = {{align|left|{{navy|Canada|1921}}}}{{clear|left}}{{align|left|<small>Part of {{sclass2-|Canadian River|destroyer|4}}</small>}}
|list2=
+
| list2 =
 
* {{HMCS|Saguenay|D79|2}}
 
* {{HMCS|Saguenay|D79|2}}
 
* {{HMCS|Skeena|D59|2}}
 
* {{HMCS|Skeena|D59|2}}
  
|below=
+
| list3 =
* Preceded by: [[Thornycroft type leader|Thornycroft-type leader (''Shakespeare''-class destroyer)]]
+
* Preceded by: [[Thornycroft type leader|''Shakespeare'' class]]
 
* Followed by: {{sclass2-|B|destroyer|4}}
 
* Followed by: {{sclass2-|B|destroyer|4}}
[[List of destroyer classes of the Royal Navy|List of destroyers of the Royal Navy]]
+
 
 +
| below =
 +
* [[:Category:Destroyers of the Royal Navy|List of destroyers of the Royal Navy]]
 +
* [[:Category:Destroyers of the Royal Canadian Navy|List of destroyers of the Royal Canadian Navy]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
Line 32: Line 36:
 
[[Category:United Kingdom destroyer templates]]
 
[[Category:United Kingdom destroyer templates]]
 
[[Category:Canada military ship templates]]
 
[[Category:Canada military ship templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 05:10, 5 November 2014

Initial visibility: currently defaults to autocollapse

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

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