Difference between revisions of "Template:Bay class frigate"

From blackwiki
Jump to navigation Jump to search
imported>Derekbridges
(fix formatting; add other ships)
imported>WOSlinker
(use groupstyle rather than align|left)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
| style    = wide
 
| style    = wide
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| groupstyle = text-align:left;
  
| group1    = {{align|left|{{navy|UK}}}}
+
| group1    = {{navy|UK}}
| list1      = {{Navbox|child
+
| list1      = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
+
| groupstyle = text-align:left;
  
| group1 = {{align|left|Frigates}}
+
| group1 = Frigates
 
| list1  =
 
| list1  =
 
* {{HMS|Bigbury Bay|K606|2}} (ex-''Loch Carloway'')
 
* {{HMS|Bigbury Bay|K606|2}} (ex-''Loch Carloway'')
Line 33: Line 34:
 
* {{HMS|Wigtown Bay|K616|2}} (ex-''Loch Garasdale'')
 
* {{HMS|Wigtown Bay|K616|2}} (ex-''Loch Garasdale'')
  
| group2 = {{align|left|Admiralty yachts}}
+
| group2 = Admiralty yachts
 
| list2  =
 
| list2  =
 
* [[HMS Alert (K647)|''Dundrum Bay'']]<!-- {{HMS|Dundrum Bay|K647|2}} --> / {{HMS|Alert|K647|2}} (ex-''Loch Scamdale'')
 
* [[HMS Alert (K647)|''Dundrum Bay'']]<!-- {{HMS|Dundrum Bay|K647|2}} --> / {{HMS|Alert|K647|2}} (ex-''Loch Scamdale'')
 
* [[HMS Surprise (K346)|''Gerrans Bay'']]<!-- {{HMS|Gerrans Bay|K346|2}} --> / {{HMS|Surprise|K346|2}} (ex-''Loch Carron'')
 
* [[HMS Surprise (K346)|''Gerrans Bay'']]<!-- {{HMS|Gerrans Bay|K346|2}} --> / {{HMS|Surprise|K346|2}} (ex-''Loch Carron'')
  
| group3 = {{align|left|[[Research vessel|Survey vessels]]}}
+
| group3 = [[Research vessel|Survey vessels]]
 
| list3  =
 
| list3  =
 
* [[HMS Cook (K638)|''Pegwell Bay'']]<!-- {{HMS|Pegwell Bay|K638|2}} --> / {{HMS|Cook|K638|2}}<!--  {{HMS|Cook|A307|2}} --> (ex-''Loch Mochrum'')
 
* [[HMS Cook (K638)|''Pegwell Bay'']]<!-- {{HMS|Pegwell Bay|K638|2}} --> / {{HMS|Cook|K638|2}}<!--  {{HMS|Cook|A307|2}} --> (ex-''Loch Mochrum'')
Line 46: Line 47:
 
}}
 
}}
  
| group2 = {{align|left|{{navy|Finland}}}}
+
| group2 = {{navy|Finland}}
 
| list2  =
 
| list2  =
* {{ship|Finnish frigate|Matti Kurki||2}} (ex-''Porlock Bay'')
+
* [[HMS Porlock Bay (K650)|''Matti Kurki'']]<!-- {{ship|Finnish frigate|Matti Kurki||2}} --> (ex-''Porlock Bay'')
  
| group3 = {{align|left|{{navy|Portugal}}}}
+
| group3 = {{navy|Portugal}}
 
| list3  =
 
| list3  =
* [[HMS Burghead Bay (K622)|''Álvares Cabral'']]<!-- {{ship|NRP|Álvares Cabral|F336}} --> (ex-''Burghead Bay'')
+
* [[HMS Burghead Bay (K622)|''Álvares Cabral'']]<!-- {{ship|NRP|Álvares Cabral|F336|2}} --> (ex-''Burghead Bay'')
* {{ship|NRP|Pacheco Pereira|F337|2}} (ex-''Bigbury Bay'')
+
* [[HMS Bigbury Bay (K606)|''Pacheco Pereira'']]<!-- {{ship|NRP|Pacheco Pereira|F337|2}} --> (ex-''Bigbury Bay'')
* {{ship|NRP|Vasco da Gama|F478|2}} (ex-''Mounts Bay'')
+
* [[HMS Mounts Bay (K627)|''Vasco da Gama'']]<!-- {{ship|NRP|Vasco da Gama|F478|2}} --> (ex-''Mounts Bay'')
* {{ship|NRP|Dom Francisco de Almeida|F479|2}} (ex-''Morecambe Bay'')
+
* [[HMS Morecambe Bay (K624)|''Dom Francisco de Almeida'']]<!-- {{ship|NRP|Dom Francisco de Almeida|F479|2}} --> (ex-''Morecambe Bay'')
* {{ship|NRP|Afonso de Albuquerque|A526|2}} (ex-''Dalrymple'')
+
* [[HMS Dalrymple (K427)|''Afonso de Albuquerque'']]<!-- {{ship|NRP|Afonso de Albuquerque|A526|2}} --> (ex-''Dalrymple'')
  
 
| list4 =
 
| list4 =

Latest revision as of 21:09, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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