Difference between revisions of "Template:Fearless class landing platform dock"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Derekbridges
(fix formatting)
 
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
|style=wide
+
| name      = Fearless class landing platform dock
|raw_name=Fearless-class landing platform dock
+
| title     = {{sclass-|Fearless|landing platform dock|1}}s
|state={{{state|}}}
+
| state    = {{{state|autocollapse}}}
|title={{sclass-|Fearless|landing platform dock|1}}
+
| style    = wide
|listclass=hlist
+
| bodyclass = hlist
  
|list1=
+
| list1 =
 
* {{HMS|Fearless|L10|2}}
 
* {{HMS|Fearless|L10|2}}
 
* {{HMS|Intrepid|L11|2}}
 
* {{HMS|Intrepid|L11|2}}
  
|below=Followed by: {{sclass-|Albion|landing platform dock|4}}
+
| list2 =
 +
* Preceded by: ''None''
 +
* Followed by: {{sclass-|Albion|landing platform dock|4}}
 +
 
 +
| below =
 +
* [[List of amphibious warfare ships of the Royal Navy]]
  
[[List of amphibious warfare ships of the Royal Navy|List of amphibious assault ships of the Royal Navy]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Fearless-class landing platform docks| ]]
+
[[Category:Fearless-class landing platform docks|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:51, 1 February 2015

Initial visibility: currently defaults to autocollapse

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

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