Difference between revisions of "Template:Isla de Luzón class cruiser"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Rich Farmbrough
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{military navigation
 
{{military navigation
 
|style=wide
 
|style=wide
|raw_name=Isla de Luzon class cruiser
+
|raw_name=Isla de Luzón class cruiser
|title={{sclass-|Isla de Luzon|cruiser|1}}
+
|title={{sclass-|Isla de Luzón|cruiser|1}}
 
|state= {{{state|autocollapse}}}
 
|state= {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
 
|list1=
 
|list1=
* {{ship|Spanish cruiser|Isla de Luzon||2}}
+
* {{ship|Spanish cruiser|Isla de Luzón||2}}
 
* {{ship|Spanish cruiser|Isla de Cuba||2}}
 
* {{ship|Spanish cruiser|Isla de Cuba||2}}
 
* {{ship|Spanish cruiser|Marques de la Ensenada||2}}
 
* {{ship|Spanish cruiser|Marques de la Ensenada||2}}
Line 15: Line 15:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Isla de Luzon-class cruisers|~]]
 
[[Category:Isla de Luzon-class cruisers|~]]
[[Category:Military ship templates]]
+
[[Category:Spain military ship templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:25, 18 July 2019

Initial visibility: currently defaults to autocollapse

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

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