Difference between revisions of "Template:Admiral class battlecruiser"

From blackwiki
Jump to navigation Jump to search
blackwiki>Diannaa
(use bodyclass = hlist in navbox as per WP:HLIST)
m (26 revisions imported)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Navbox
+
{{military navigation
| name=Admiral class battlecruiser
+
|style=wide
| title={{sclass2|Admiral|battlecruiser}}
+
|name =Admiral class battlecruiser
| bodyclass = hlist
+
|state={{{state|}}}
| list1=
+
|title={{sclass2-|Admiral|battlecruiser|1}}s
* ''Anson''
+
|bodyclass=hlist
* [[HMS Hood (51)|''Hood'']]
+
 
* ''Howe''
+
|list1=
* ''Rodney''
+
* ''[[Admiral-class battlecruiser|Anson]]''
 +
* {{HMS|Hood|51|2}}
 +
* ''[[Admiral-class battlecruiser|Howe]]''
 +
* ''[[Admiral-class battlecruiser|Rodney]]''
 +
 
 
| below=
 
| below=
* Preceded by: [[Renown class battlecruiser|''Renown'' class]]
+
* Preceded by: {{sclass-|Renown|battlecruiser|4}}
* Followed by: [[G3 battlecruiser|G3 class]] (planned)
+
* Followed by: {{sclass2-|G3|battlecruiser|4}} (planned)
  
 
* [[List of battlecruisers of the Royal Navy]]
 
* [[List of battlecruisers of the Royal Navy]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
{{DEFAULTSORT:Admiral class}}
 
{{DEFAULTSORT:Admiral class}}
 +
[[Category:Admiral-class battlecruisers|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
  
[[it:Template:Classe Admiral]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:48, 17 October 2020

Initial visibility: currently defaults to autocollapse

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

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