Difference between revisions of "Template:Clothing"

From blackwiki
Jump to navigation Jump to search
imported>Tahc
(move new edit to Template:Historical clothing)
imported>Vegaswikian
(Text moved to edit comment to fix white space)
Line 1: Line 1:
<noinclude>
 
:;This template is only for clothing still in ''current'' use.
 
::;Please add links for out-of-date clothing items to ''[[:Template:Historical clothing]]''.
 
:;This template is only for clothing that is unassociated with a regional or national culture.
 
::;Please add links for regional or national costume to ''[[:Template:Folk costume]]''.
 
:;See also ''[[:Template:Clothing materials and parts]]''
 
</noinclude>
 
 
{{Navbox
 
{{Navbox
 
|name      = Clothing
 
|name      = Clothing
Line 242: Line 235:
  
 
}}<noinclude>
 
}}<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
  
 
[[Category:Clothing navigational boxes| ]]
 
[[Category:Clothing navigational boxes| ]]
 
 
</noinclude>
 
</noinclude>

Revision as of 18:41, 11 January 2014

Initial visibility: currently defaults to autocollapse

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

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