Template:Addiction: Difference between revisions
Appearance
Content deleted Content added
link Treatment and management of addiction, article has been made |
|||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:navbox|navbox |
|||
{{Navbox |
|||
|name = Addiction |
|name = Addiction |
||
|title = [[Reinforcement]] disorders: [[ |
|title = [[Reinforcement]] disorders: [[addiction]] and [[substance dependence|dependence]] |
||
| state = {{{state<includeonly>|autocollapse</includeonly>}}} |
| state = {{{state<includeonly>|autocollapse</includeonly>}}} |
||
|listclass = hlist |
|listclass = hlist |
||
|group1 = [[Addiction]] |
|group1 = [[Addiction]] |
||
|list1 = {{navbox|subgroup |
|list1 = {{#invoke:navbox|navbox|subgroup |
||
|groupwidth = |
|groupwidth = |
||
|groupstyle = text-align:center; |
|groupstyle = text-align:center; |
||
Line 62: | Line 62: | ||
|group2 = [[substance dependence|Dependence]] |
|group2 = [[substance dependence|Dependence]] |
||
|list2 = {{navbox|subgroup |
|list2 = {{#invoke:navbox|navbox|subgroup |
||
|groupstyle = text-align:center; |
|groupstyle = text-align:center; |
||
|groupwidth = |
|groupwidth = |
||
|group1 = Concepts |
|group1 = Concepts |
||
|list1 = |
|list1 = |
||
* [[Adverse childhood experiences]] |
|||
*[[Physical dependence]] |
*[[Physical dependence]] |
||
*[[Psychological dependence]] |
*[[Psychological dependence]] |
||
Line 87: | Line 88: | ||
}} |
}} |
||
|group3 = [[ |
|group3 = [[Treatment and management of addiction|Treatment <br>and <br>management]] |
||
|list3 = {{navbox|subgroup |
|list3 = {{#invoke:navbox|navbox|subgroup |
||
|groupstyle = text-align:center; |
|groupstyle = text-align:center; |
||
|groupwidth = |
|groupwidth = |
||
Line 157: | Line 158: | ||
| belowclass = hlist |
| belowclass = hlist |
||
| below = |
| below = |
||
* {{ |
* {{#invoke:Icon|main|Category}} [[:Category:Addiction|Category]] |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation |
{{Documentation |
||
Line 169: | Line 170: | ||
{{Collapsible option}} |
{{Collapsible option}} |
||
<!--Template categories--> |
|||
[[Category:Psychology navigational boxes]] |
[[Category:Psychology navigational boxes]] |
||
[[Category:Addiction|τ]] |
|||
[[Category:Behavioral addiction|τ]] |
|||
[[Category:Substance dependence|τ]] |
|||
}}</noinclude> |
}}</noinclude> |
Latest revision as of 12:25, 26 September 2024
Template documentation
To transclude this navbox template, use:
{{Addiction}}
To trasnclude this navbox in the expanded state on pages with multiple navboxes, use:
{{Addiction|state=expanded}}
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Addiction|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Addiction|state=expanded}}
will show the template expanded, i.e. fully visible.