Difference between revisions of "Template:Bathurst class corvette"

From blackwiki
Jump to navigation Jump to search
imported>Saberwyn
(fix link)
imported>Andrwsc
(British India → British Raj (same output))
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{military navigation
+
{{navbox with collapsible groups
| style=wide
+
| name     = Bathurst class corvette
| name=Bathurst class corvette
+
| title     = [[Bathurst-class corvette|''Bathurst''-class corvette]]
| listclass = hlist
+
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
| title=[[Bathurst class corvette|''Bathurst''-class corvette]]
+
| basestyle = {{WPMILHIST Infobox style|nav_box_wide_header}}
 
| listclass = hlist
 
| listclass = hlist
 +
| selected  = {{{1|<noinclude>others</noinclude>}}}
 +
| list1  =
 +
  {{navbox|subgroup
 +
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 +
 +
  | group1  = {{navy|Australia|1913|size=30x15px}}
 +
  | list1  =
 +
    {{Navbox|subgroup
 +
    | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  
| group1 ={{navy|Australia|1913|size=30x15px}}
+
    | group1 = Australian-ordered
| list1={{Navbox subgroup
+
    | list1 =
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
| group1=Australian-ordered
 
| list1=
 
 
* {{HMAS|Ararat|K34|2}}
 
* {{HMAS|Ararat|K34|2}}
 
* {{HMAS|Armidale|J240|2}}
 
* {{HMAS|Armidale|J240|2}}
Line 49: Line 55:
 
* {{HMAS|Warrnambool|J202|2}}
 
* {{HMAS|Warrnambool|J202|2}}
  
| group2=[[Admiralty]]-ordered
+
    | group2 = [[Admiralty]]-ordered
| list2=
+
    | list2 =
 
* {{HMAS|Ballarat|J184|2}}
 
* {{HMAS|Ballarat|J184|2}}
 
* {{HMAS|Bathurst|J158|2}}
 
* {{HMAS|Bathurst|J158|2}}
* {{HMAS|Broome|J181|2}}
+
* {{HMAS|Broome|J191|2}}
 
* {{HMAS|Burnie||2}}
 
* {{HMAS|Burnie||2}}
 
* {{HMAS|Cairns|J183|2}}
 
* {{HMAS|Cairns|J183|2}}
Line 70: Line 76:
 
* {{HMAS|Whyalla|J153|2}}
 
* {{HMAS|Whyalla|J153|2}}
 
* {{HMAS|Wollongong|J172|2}}
 
* {{HMAS|Wollongong|J172|2}}
}}
+
  }}
| group2={{navy|British India}}
+
 
| list2=
+
  | group3 = {{navy|British Raj}}
 +
  | list3  =
 
* {{ship|HMIS|Bengal|J243|2}}
 
* {{ship|HMIS|Bengal|J243|2}}
 
* {{ship|HMIS|Bombay|J249|2}}
 
* {{ship|HMIS|Bombay|J249|2}}
 
* {{ship|HMIS|Madras|J237|2}}
 
* {{ship|HMIS|Madras|J237|2}}
 
* {{ship|HMIS|Punjab|J239|2}}
 
* {{ship|HMIS|Punjab|J239|2}}
 +
}}
  
| list3={{Navbox|child
+
| group2  = Post-Second World War operators
| title=Post-Second World War operators
+
| abbr2      = others
| titlestyle={{WPMILHIST Infobox style|nav_box_wide_header}}
+
| list2  =
| groupstyle={{WPMILHIST Infobox style|nav_box_label}}
+
  {{navbox|subgroup
| state=<noinclude>expanded</noinclude><includeonly>{{#ifeq:{{{1|}}}|others|uncollapsed|collapsed}}</includeonly>
+
  | groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
  
| group1={{navy|Indonesia|size=30x15px}}
+
  | group1 = {{navy|Indonesia|size=30x15px}}
| list1=
+
  | list1 =
* [[HMAS Cairns (J183)|''Banteng'']] (ex-''Cairns'')
+
* ''[[HMAS Cairns (J183)|Banteng]]'' (ex-''Cairns'')
* [[HMAS Ipswich (J186)|''Hang Tuah'']] (ex-''Ipswich'')
+
* ''[[HMAS Ipswich (J186)|Hang Tuah]]'' (ex-''Ipswich'')
* [[HMAS Tamworth (J181)|''Pati Unus'']] (ex-''Tamworth'')
+
* ''[[HMAS Tamworth (J181)|Pati Unus]]'' (ex-''Tamworth'')
* [[HMAS Wollongong (J172)|''Radjawali'']] (ex-''Wollongong'')
+
* ''[[HMAS Wollongong (J172)|Radjawali]]'' (ex-''Wollongong'')
  
| group3={{navy|Netherlands|size=30x15px}}
+
  | group2 = {{navy|Netherlands|size=30x15px}}
| list3=
+
  | list2  =
* [[HMAS Cairns (J183)|''Ambon'']] (ex-''Cairns'')
+
* ''[[HMAS Cairns (J183)|Ambon]]'' (ex-''Cairns'')
* [[HMAS Wollongong (J172)|''Banda'']] (ex-''Wollongong'')
+
* ''[[HMAS Wollongong (J172)|Banda]]'' (ex-''Wollongong'')
* [[HMAS Lismore (J145)|''Batjan'']] (ex-''Lismore'')
+
* ''[[HMAS Lismore (J145)|Batjan]]'' (ex-''Lismore'')
* [[HMAS Toowoomba (J157)|''Boeroe'']] (ex-''Toowoomba'')
+
* ''[[HMAS Toowoomba (J157)|Boeroe]]'' (ex-''Toowoomba'')
* [[HMAS Burnie|''Ceram'']] (ex-''Burnie'')
+
* ''[[HMAS Burnie|Ceram]]'' (ex-''Burnie'')
* [[HMAS Ipswich (J186)|''Morotai'']] (ex-''Ipswich'')
+
* ''[[HMAS Ipswich (J186)|Morotai]]'' (ex-''Ipswich'')
* [[HMAS Kalgoorlie|''Ternate'']] (ex-''Kalgoorlie'')
+
* ''[[HMAS Kalgoorlie|Ternate]]'' (ex-''Kalgoorlie'')
* [[HMAS Tamworth (J181)|''Tidore'']] (ex-''Tamworth'')
+
* ''[[HMAS Tamworth (J181)|Tidore]]'' (ex-''Tamworth'')
  
| group5={{navy|New Zealand|1941|size=30x15px}}
+
  | group3 = {{navy|New Zealand|1941|size=30x15px}}
| list5=
+
  | list3  =
 
* {{HMAS|Echuca||2}}
 
* {{HMAS|Echuca||2}}
 
* {{HMAS|Inverell||2}}
 
* {{HMAS|Inverell||2}}
Line 109: Line 117:
 
* {{HMAS|Stawell||2}}
 
* {{HMAS|Stawell||2}}
  
| group7={{navy|Turkey|size=30x15px}}
+
  | group4 = {{navy|Turkey|size=30x15px}}
| list7=
+
  | list4  =
* [[HMAS Broome (J191)|''Alanya'']] (ex-''Broome'')
+
* ''[[HMAS Broome (J191)|Alanya]]'' (ex-''Broome'')
* [[HMAS Pirie (J189)|''Amasra'']] (ex-''Pirie'')
+
* ''[[HMAS Pirie (J189)|Amasra]]'' (ex-''Pirie'')
* [[HMAS Geraldton (J178)|''Antalya'']] (ex-''Geraldton'')
+
* ''[[HMAS Geraldton (J178)|Antalya]]'' (ex-''Geraldton'')
* [[HMAS Launceston (J179)|''Ayancık'']] (ex-''Launceston'')
+
* ''[[HMAS Launceston (J179)|Ayancık]]'' (ex-''Launceston'')
* [[HMAS Gawler (J188)|''Ayvalık'']] (ex-''Gawler'')
+
* ''[[HMAS Gawler (J188)|Ayvalık]]'' (ex-''Gawler'')
}}
+
  }}
  
 
}}<noinclude>
 
}}<noinclude>
[[Category:Bathurst class corvettes| ]]
+
{{collapsible option}}
 +
{{Collapsible sections option |list="others"}}
 +
[[Category:Bathurst-class corvettes|~]]
 
[[Category:Australia military ship templates]]
 
[[Category:Australia military ship templates]]
 
[[Category:India military ship templates]]
 
[[Category:India military ship templates]]
Line 126: Line 136:
 
[[Category:New Zealand military ship templates]]
 
[[Category:New Zealand military ship templates]]
 
[[Category:Turkey military ship templates]]
 
[[Category:Turkey military ship templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:36, 6 January 2015

Initial visibility: currently defaults to autocollapse

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

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

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
  • "others"