Difference between revisions of "Template:Gearing class destroyer"

From blackwiki
Jump to navigation Jump to search
imported>Dicklyon
(ce comma per WP:JR)
imported>WOSlinker
(Military navigation|border=child|style=wide)
Line 6: Line 6:
 
| bodyclass = hlist
 
| bodyclass = hlist
  
| list1      = {{Navbox|child
+
| list1      = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  
 
| group1 = {{align|left|Completed}}
 
| group1 = {{align|left|Completed}}
Line 128: Line 127:
 
}}
 
}}
  
| list2      = {{Navbox|child
+
| list2      = {{Military navigation|border=child|style=wide
 
| title      = Other operators
 
| title      = Other operators
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle = {{WPMILHIST Infobox style|nav_box_wide_header}}
 
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
 
| state      = {{#ifeq:{{{1<noinclude>|others</noinclude>}}}|others|uncollapsed|collapsed}}
 
| state      = {{#ifeq:{{{1<noinclude>|others</noinclude>}}}|others|uncollapsed|collapsed}}
  
Line 215: Line 212:
  
 
| group11    = {{align|left|{{navy|Turkey}}}}
 
| group11    = {{align|left|{{navy|Turkey}}}}
| list11    = {{Navbox|child
+
| list11    = {{Military navigation|border=child|style=wide
| groupstyle = {{WPMILHIST Infobox style|nav_box_label}}
 
  
 
| group1 = {{align|left|''Yücetepe'' class}}
 
| group1 = {{align|left|''Yücetepe'' class}}

Revision as of 10:35, 30 July 2016

Initial visibility: currently defaults to autocollapse

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

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