Difference between revisions of "Template:Castle class opv"

From blackwiki
Jump to navigation Jump to search
imported>Maralia
(hid 'preceded by/followed by' as there's no info for it)
imported>Llammakey
(updated template)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Castle class opv
 
|name    = Castle class opv
|state  =  
+
|state  = {{{state|}}}
|title  = [[Castle class patrol vessel]]
+
|title  = {{sclass2-|Castle|patrol vessel|1}}
|list1  = [[HMS Leeds Castle (P258)|''Leeds Castle'']]{{·}}[[HMS Dumbarton Castle (P265)|''Dumbarton Castle'']]
+
|listclass = hlist
|below  = <!--Preceded by:{{·}}Followed by:<br>!-->[[Current Royal Navy ships#Patrol Vessels|List of patrol vessels of the Royal Navy]]
+
|group1 = {{navy|United Kingdom|size=30x15px}}
}}
+
|list1  =  
<noinclude>
+
* {{HMS|Leeds Castle|P258|2}}
[[Category:United Kingdom military ship navigational boxes|{{PAGENAME}}]]
+
* {{HMS|Dumbarton Castle|P265|2}}
 +
|group2= {{navy|Bangladesh|size=30x15px}}
 +
|list2 =
 +
* {{ship|BNS|Dhaleshwari||2}} (ex-''Leeds Castle'')
 +
* {{ship|BNS|Bijoy||2}} (ex-''Dumbarton Castle'')
 +
|below  = <!--Preceded by:
 +
* Followed by:<br>!-->[[Current Royal Navy ships#Patrol vessels|List of patrol vessels of the Royal Navy]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:United Kingdom military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:00, 30 October 2017

Initial visibility: currently defaults to autocollapse

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

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