Template:Addiction: Difference between revisions
Appearance
Content deleted Content added
Paulinho28 (talk | contribs) No edit summary |
Adding link |
||
Line 25: | Line 25: | ||
**[[Problem gambling|Gambling]] |
**[[Problem gambling|Gambling]] |
||
**[[Compulsive buying disorder|Shopping]] |
**[[Compulsive buying disorder|Shopping]] |
||
**[[Wealth addiction|Wealth]] |
|||
*Media |
*Media |
||
**[[Computer addiction|Computer]] |
**[[Computer addiction|Computer]] |
Revision as of 11:36, 25 October 2018
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.