Difference between revisions of "Template:Admiral class battleship"

From blackwiki
Jump to navigation Jump to search
blackwiki>Derekbridges
m (fix link for list of pre-dreadnought battleships of the Royal Navy)
blackwiki>Derekbridges
(fix formatting to match other templates)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
| style = wide
+
| name     = Admiral class battleship
| name=Admiral class battleship
+
| title     = {{sclass2-|Admiral|battleship|1}}s
| title={{sclass2-|Admiral|battleship|1}}s
+
| state     = {{{state|autocollapse}}}
| state= {{{state|autocollapse}}}
 
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| style    = wide
  
 
| list1=
 
| list1=
Line 14: Line 14:
 
* {{HMS|Benbow|1885|2}}
 
* {{HMS|Benbow|1885|2}}
  
| below=
+
| list2 =
 
* Preceded by: [[Colossus-class battleship (1882)|''Colossus'' class]]
 
* Preceded by: [[Colossus-class battleship (1882)|''Colossus'' class]]
 
* Followed by: {{sclass-|Victoria|battleship|4}}
 
* Followed by: {{sclass-|Victoria|battleship|4}}
  
 +
| below =
 
* [[List of pre-dreadnought battleships of the Royal Navy]]
 
* [[List of pre-dreadnought battleships of the Royal Navy]]
}}<noinclude>
+
}}
 +
<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Admiral-class battleships|~]]
 
[[Category:Admiral-class battleships|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
 
</noinclude>
 
</noinclude>

Revision as of 04:01, 23 August 2013

Initial visibility: currently defaults to autocollapse

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

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