Difference between revisions of "Template:Hastings class sloop"

From blackwiki
Jump to navigation Jump to search
imported>TheAllSeeingEye
m
imported>Andrwsc
(British India → British Raj (same output))
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Hastings class sloop
 
|name    = Hastings class sloop
|state  =
+
|state  = {{{state|}}}
|title  = [[Hastings class sloop|''Hastings'' class sloop]]
+
|title  = {{sclass-|Hastings|sloop|1}}
|group1  =  
+
|listclass = hlist
|list1  = {{Navbox subgroup
+
 
  | groupstyle = width:14em;
+
|group1 = {{navy|UK|size=30px}}
  | liststyle = width:auto;
+
|list1 =  
  | group1 = Royal Navy
+
* {{HMS|Hastings|L27|2}}
  | list1  = ''[[HMS Hastings (L27)|Hastings]]{{·}}'' ''[[HMS Folkestone (L22)|Folkstone]]{{·}}'' ''[[HMS Penzance (L28)|Penzance]]{{·}}'' ''[[HMS Scarborough (L25)|Scarborough]]''
+
* {{HMS|Folkestone|L22|2}}
  | group2 = Royal Indian Navy
+
* {{HMS|Penzance|L28|2}}
  | list2 = ''[[HMIS Hindustan (L80)|Hindustan]]''
+
* {{HMS|Scarborough|L25|2}}
  | group3 = Pakistan Navy
+
 
  | list3 = ''[[HMIS Hindustan (L80)|Karsaz]]'' (ex-''Hindustan'')
+
|group2 = {{navy|British Raj|size=30px}}
}}
+
|list2 =  
|below  = Preceded by: [[Bridgewater class sloop|''Bridgewater'' class]]{{·}} Followed by: [[Shoreham class sloop|''Shoreham'' class]]<br />[[List of corvette and sloop classes of the Royal Navy]]
+
* {{HMIS|Hindustan|L80|2}}
 +
 
 +
|group3 = {{navy|Pakistan|size=30px}}
 +
|list3 =  
 +
* ''[[HMIS Hindustan (L80)|Karsaz]]''
 +
 
 +
|belowclass = hlist
 +
|below  =  
 +
* Preceded by: {{sclass-|Bridgewater|sloop|4}}
 +
* Followed by: {{sclass-|Shoreham|sloop|4}}
 +
 
 +
* [[List of corvette and sloop classes of the Royal Navy]]
 
}}<noinclude>
 
}}<noinclude>
 
+
{{collapsible option}}
[[Category:United Kingdom military ship templates|{{PAGENAME}}]]
+
[[Category:Hastings-class sloops|~]]
 +
[[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.