Difference between revisions of "Template:La Fayette class frigate"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>The Bushranger
(dab, cats)
Line 3: Line 3:
 
| name  = La Fayette class frigate
 
| name  = La Fayette class frigate
 
| bodyclass = hlist
 
| bodyclass = hlist
|title = {{Sclass|La Fayette|frigate|1}}
+
|title = {{Sclass-|La Fayette|frigate|1}}s
 
|state    = {{{state|autocollapse}}}|
 
|state    = {{{state|autocollapse}}}|
  
Line 29: Line 29:
 
* {{ship|ROCS|Chen De|FFG-1208|2}}
 
* {{ship|ROCS|Chen De|FFG-1208|2}}
  
| group4 = {{navy|Singapore|size=30x15px}}<br><small>{{sclass|Formidable|frigate|4}}</small>
+
| group4 = {{navy|Singapore|size=30x15px}}<br><small>{{sclass-|Formidable|frigate|4}}</small>
 
| list4 =  
 
| list4 =  
 
* {{Ship|RSS|Formidable|68|2}}
 
* {{Ship|RSS|Formidable|68|2}}
Line 44: Line 44:
 
{{collapsible option}}
 
{{collapsible option}}
  
[[Category:La Fayette class frigates| ]]
+
[[Category:La Fayette class frigates|~]]
 +
[[Category:Formidable-class frigates|~]]
 
[[Category:France military ship templates]]
 
[[Category:France military ship templates]]
 
[[Category:Saudi Arabia military ship templates]]
 
[[Category:Saudi Arabia military ship templates]]

Revision as of 06:55, 20 February 2013

Initial visibility: currently defaults to autocollapse

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

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