User:UBX/ADHD/doc

This template identifies Wikipedians with ADHD, formerly known as ADD.

Usage
Use the first unnamed parameter to specify a subtype:
 * or  for predominantly inattentive,
 * or  for predominantly hyperactive-impulsive,
 * for combined type.

Set an unnamed parameter as  to change the text alignment.

Set another unnamed parameter as  to set the ADHD flag colors.

Examples








{{#ifeq:{{NAMESPACE}}|Template||;Flag colors

{{{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|flag}}
 * {{temt|{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|flag}}

{{{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|PI|flag}}
 * {{temt|{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|PI|flag}}

{{{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|center|flag}}
 * {{temt|{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|center|flag}}

{{{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|PI|center|flag}}
 * {{temt|{{#ifeq:{{NAMESPACE}}|Template||{{NAMESPACE}}:}}{{PAGENAME}}|PI|center|flag}}

Other parameters
}}
 * : the optional background color for the border: default is.
 * : the optional background color for the id: default is.
 * : the optional background color for the info: default is.
 * : the optional text color for the info.
 * : the optional size for both the id and the info: default is.