Difference between revisions of "Template:Developmental tooth disease"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name      = Developmental tooth disease
 
| name      = Developmental tooth disease
 
| title      = Developmental [[tooth disease]]/[[tooth abnormality]] ([[ICD-10 Chapter XI: Diseases of the digestive system|K00–K01]], [[List of ICD-9 codes 520–579: diseases of the digestive system#Diseases of oral cavity, salivary glands, and jaws (520–529)|520]])
 
| title      = Developmental [[tooth disease]]/[[tooth abnormality]] ([[ICD-10 Chapter XI: Diseases of the digestive system|K00–K01]], [[List of ICD-9 codes 520–579: diseases of the digestive system#Diseases of oral cavity, salivary glands, and jaws (520–529)|520]])
 +
| state      = {{{state|autocollapse}}}
 
| listclass  = hlist
 
| listclass  = hlist
 
| titlestyle = background:Silver
 
| titlestyle = background:Silver
Line 46: Line 47:
 
| below      = {{Tooth navs}}
 
| below      = {{Tooth navs}}
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Developmental tooth disorders]]
 
[[Category:Developmental tooth disorders]]
 
[[Category:Musculoskeletal disease templates]]
 
[[Category:Musculoskeletal disease templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:17, 9 May 2013

Initial visibility: currently defaults to autocollapse

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

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