Difference between revisions of "Template:Corticosteroids"

From blackwiki
Jump to navigation Jump to search
imported>Addbot
m (Bot: Migrating 3 interwiki links, now provided by Wikidata on d:q7657631)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
| listclass = hlist
 
| listclass = hlist
 
| title = [[Corticosteroid]]s – [[glucocorticoid]]s and [[mineralocorticoid]]s ([[ATC code H02|H02]])<br/>(also [[ATC code A07#A07EA|A07EA]], [[ATC code C05#C05AA|C05AA]], [[ATC code D07|D07]], [[ATC code D10#D10AA|D10AA]], [[ATC code R01#R01AD|R01AD]], [[ATC code R03#R03BA|R03BA]], [[ATC code S01#S01BA|S01BA]], [[ATC code S02#S02B|S02B]], and [[ATC code S03#S03B|S03B]])
 
| title = [[Corticosteroid]]s – [[glucocorticoid]]s and [[mineralocorticoid]]s ([[ATC code H02|H02]])<br/>(also [[ATC code A07#A07EA|A07EA]], [[ATC code C05#C05AA|C05AA]], [[ATC code D07|D07]], [[ATC code D10#D10AA|D10AA]], [[ATC code R01#R01AD|R01AD]], [[ATC code R03#R03BA|R03BA]], [[ATC code S01#S01BA|S01BA]], [[ATC code S02#S02B|S02B]], and [[ATC code S03#S03B|S03B]])
 +
| state = {{{state|autocollapse}}}
  
 
| group1 = [[Mineralocorticoid]]s<BR>(3-one, 4-ene,<BR>no [[Functional group|FG]] at 16)
 
| group1 = [[Mineralocorticoid]]s<BR>(3-one, 4-ene,<BR>no [[Functional group|FG]] at 16)
Line 108: Line 109:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Drug_templates by ATC]]
 
[[Category:Drug_templates by ATC]]
 
[[Category:Endocrinology]]
 
[[Category:Endocrinology]]
 
</noinclude>
 
</noinclude>

Revision as of 18:53, 7 May 2013

Initial visibility: currently defaults to autocollapse

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

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