Difference between revisions of "Template:Hastings class sloop"

From blackwiki
Jump to navigation Jump to search
imported>The Bushranger
(dab, format, cat)
imported>Andrwsc
(British India → British Raj (same output))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Hastings class sloop
 
|name    = Hastings class sloop
|state  =
+
|state  = {{{state|}}}
 
|title  = {{sclass-|Hastings|sloop|1}}
 
|title  = {{sclass-|Hastings|sloop|1}}
 
|listclass = hlist
 
|listclass = hlist
Line 12: Line 12:
 
* {{HMS|Scarborough|L25|2}}
 
* {{HMS|Scarborough|L25|2}}
  
|group2 = {{navy|British India|size=30px}}
+
|group2 = {{navy|British Raj|size=30px}}
 
|list2 =  
 
|list2 =  
 
* {{HMIS|Hindustan|L80|2}}
 
* {{HMIS|Hindustan|L80|2}}
Line 27: Line 27:
 
* [[List of corvette and sloop classes of the Royal Navy]]
 
* [[List of corvette and sloop classes of the Royal Navy]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Hastings class sloops|~]]
+
{{collapsible option}}
 +
[[Category:Hastings-class sloops|~]]
 
[[Category:United Kingdom military ship templates]]
 
[[Category:United Kingdom military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:37, 6 January 2015

Initial visibility: currently defaults to autocollapse

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

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