Difference between revisions of "Template:King George V class battleship (1939)"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Derekbridges
(fix formatting to match other templates)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|style=wide
+
| name      = King George V class battleship (1939)
|raw_name=King George V class battleship (1939)
+
| title     = [[King George V-class battleship (1939)|''King George V''-class battleships]]
|state={{{state|}}}
+
| state    = {{{state|autocollapse}}}
|title=[[King George V-class battleship (1939)|''King George V''-class battleships]]
+
| bodyclass = hlist
|bodyclass=hlist
+
| style    = wide
|list1=
+
 
 +
| list1=
 
* {{HMS|King George V|41|2}}
 
* {{HMS|King George V|41|2}}
 
* {{HMS|Prince of Wales|53|2}}
 
* {{HMS|Prince of Wales|53|2}}
Line 12: Line 13:
 
* {{HMS|Howe|32|2}}
 
* {{HMS|Howe|32|2}}
  
|below=
+
| list2 =
 
* Preceded by: {{sclass-|Nelson|battleship|4}}
 
* Preceded by: {{sclass-|Nelson|battleship|4}}
* Followed by: {{sclass-|Lion|battleship|4}}
+
* Followed by: {{sclass-|Lion|battleship|4}} (planned) / {{HMS|Vanguard|23|6}} (actual)
[[List of dreadnought battleships of the Royal Navy]]
+
 
 +
| below =
 +
* [[List of dreadnought battleships of the Royal Navy]]
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Line 21: Line 24:
 
[[Category:King George V-class battleships (1939)|~]]
 
[[Category:King George V-class battleships (1939)|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 03:56, 23 August 2013

Initial visibility: currently defaults to autocollapse

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

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