Template:Addiction: Difference between revisions
Appearance
Content deleted Content added
m ce (lower case) |
m Reduce WP:PEIS (transcluded on Alcohol (drug)) (via WP:JWB) |
||
Line 1: | Line 1: | ||
{{#invoke:navbox|navbox |
|||
{{Navbox |
|||
|name = Addiction |
|name = Addiction |
||
|title = [[Reinforcement]] disorders: [[addiction]] and [[substance dependence|dependence]] |
|title = [[Reinforcement]] disorders: [[addiction]] and [[substance dependence|dependence]] |
||
Line 6: | Line 6: | ||
|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 = |
||
Line 89: | Line 89: | ||
|group3 = [[Addiction#Treatment|Treatment <br>and <br>management]] |
|group3 = [[Addiction#Treatment|Treatment <br>and <br>management]] |
||
|list3 = {{navbox|subgroup |
|list3 = {{#invoke:navbox|navbox|subgroup |
||
|groupstyle = text-align:center; |
|groupstyle = text-align:center; |
||
|groupwidth = |
|groupwidth = |
||
Line 158: | Line 158: | ||
| belowclass = hlist |
| belowclass = hlist |
||
| below = |
| below = |
||
* {{ |
* {{#invoke:Icon|main|Category}} [[:Category:Addiction|Category]] |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation |
{{Documentation |
Revision as of 13:51, 8 May 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.