Difference between revisions of "Template:Attention-deficit hyperactivity disorder"

From blackwiki
Jump to navigation Jump to search
imported>Seppi333
(fix transclusion self-rdr's/appearance)
imported>Nasa-verve
(update link)
Line 9: Line 9:
 
|group1 = Main articles
 
|group1 = Main articles
 
|list1 =
 
|list1 =
* [[History of attention-deficit hyperactivity disorder|History of ADHD]]
+
* [[History of attention deficit hyperactivity disorder|History of ADHD]]
 
* [[Adult attention deficit hyperactivity disorder|ADHD in adults]]
 
* [[Adult attention deficit hyperactivity disorder|ADHD in adults]]
 
* [[Attention deficit hyperactivity disorder controversies|ADHD controversies]]
 
* [[Attention deficit hyperactivity disorder controversies|ADHD controversies]]

Revision as of 18:02, 30 April 2014

Template documentation[view] [edit] [history] [purge]

Usage

Simply insert {{Adhd}} in article, at end, just before categories.

Initial visibility: currently defaults to autocollapse

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

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

See also