Difference between revisions of "Template:Bay class minehunter"

From blackwiki
Jump to navigation Jump to search
imported>The Bushranger
(dab)
imported>Saberwyn
(tweak template to clearly show completed and cancelled vessels, remove repeating wikilink to class article for cancelled)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
| title    = {{sclass2-|Bay|minehunter|1}}s
 
| title    = {{sclass2-|Bay|minehunter|1}}s
 
| state        = {{{state|autocollapse}}}
 
| state        = {{{state|autocollapse}}}
| listclass = hlist
+
| bodyclass = hlist
 
| style    = wide
 
| style    = wide
  
 +
|group1=Completed
 
| list1 =
 
| list1 =
 
* {{HMAS|Rushcutter|M 80|2}}
 
* {{HMAS|Rushcutter|M 80|2}}
 
* {{HMAS|Shoalwater|M 81|2}}
 
* {{HMAS|Shoalwater|M 81|2}}
* [[Bay-class minehunter|''Westernport'']]
 
* [[Bay-class minehunter|''Discovery'']]
 
* [[Bay-class minehunter|''Esperance'']]
 
* [[Bay-class minehunter|''Melville'']]
 
  
 +
|group2=Cancelled
 +
|list2=
 +
* ''Westernport''
 +
* ''Discovery''
 +
* ''Esperance''
 +
* ''Melville''
 +
 +
| below=
 +
* Preceded by: {{sclass2-|Ton|minesweeper|4}}
 +
* Followed by: {{sclass-|Huon|minehunter|4}}
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 09:46, 25 January 2014

Initial visibility: currently defaults to autocollapse

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

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