Difference between revisions of "Template:Androgens and antiandrogens"

From blackwiki
Jump to navigation Jump to search
blackwiki>StacyRed-Wiki
blackwiki>Medgirl131
(Undid revision 875399376 by StacyRed-Wiki (talk). Reverted to previous version. Please get consensus before making changes like this. The current template style matches that of many similar templates.)
Line 2: Line 2:
 
  | name = Androgens and antiandrogens
 
  | name = Androgens and antiandrogens
 
  | title = [[Androgen]]s and [[antiandrogen]]s
 
  | title = [[Androgen]]s and [[antiandrogen]]s
−
|basestyle=background:#7DF9FF;
 
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | listclass = hlist
 
  | listclass = hlist
Line 9: Line 8:
 
  | group1 = [[Androgen]]s<br />(incl. {{abbrlink|AAS|anabolic–androgenic steroid}})
 
  | group1 = [[Androgen]]s<br />(incl. {{abbrlink|AAS|anabolic–androgenic steroid}})
 
  | list1 = {{Navbox|child
 
  | list1 = {{Navbox|child
−
  | groupstyle = text-align:center;background:#E0FFFF
+
  | groupstyle = text-align:center;
 
  | groupwidth = 9em;
 
  | groupwidth = 9em;
  
Line 96: Line 95:
 
  | group2 = [[Antiandrogen]]s
 
  | group2 = [[Antiandrogen]]s
 
  | list2 = {{Navbox|child
 
  | list2 = {{Navbox|child
−
  | groupstyle = text-align:center;background:#E0FFFF
+
  | groupstyle = text-align:center;
 
  | groupwidth = 9em;
 
  | groupwidth = 9em;
  
Line 168: Line 167:
 
  }}
 
  }}
  
−
  | liststyle = background:#E0FFFF;
+
  | liststyle = background:#DDDDFF;
 
  | list3 = {{PharmNavFootnote}}
 
  | list3 = {{PharmNavFootnote}}
 
;See also
 
;See also

Revision as of 07:59, 26 December 2018

Initial visibility: currently defaults to autocollapse

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

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