• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Smoking

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Part of a series on
Smoking
Tobacco
  • Tobacco
  • Health effects
  • Advertising
  • Cessation
  • Industry
  • Politics
  • Prevalence of consumption
Cannabis
  • Cannabis
  • Plant
  • Effects
  • Legality
  • Medical use
  • Religious and spiritual use
Opium
  • Den
  • Opiate
  • Opioid
  • Papaver somniferum (opium poppy)
  • Psychoactive drug
  • First Opium War
  • Second Opium War
Crack
  • Cocaine
  • Epidemic
Other
  • DMT
  • Heroin
  • Meth
  • Narcotics
  • PCP
  • v
  • t
  • e
Template documentation[view] [edit] [history] [purge]

This template is designed for the series on Smoking acting as an access point to the multiple articles closely tied to the main subject. There are currently six different functions for this template all of which control the show/hide attribute of the template.

Contents

  • 1 Parameters
  • 2 Examples
    • 2.1 Basic operation
    • 2.2 Expanding a section
    • 2.3 Expanding all sections
  • 3 See also

Parameters

edit

This template includes collapsible lists.

    • To set it to display all lists when it appears (i.e. all lists expanded), use:
    •  {{Smoking|expanded=all}} or {{Smoking|all}}  (i.e. omitting ‹See TfM›|expanded=).
    • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
    •  {{Smoking|expanded=listname}} or {{Smoking|listname}}
    • ...where listname is one of the following (do not include any quotemarks):
    • "tobacco", "cannabis", "opium", "crack", "other"
    • For example, {{Smoking|expanded=opium}} or {{Smoking|opium}}

Examples

edit

Basic operation

edit

To place the template into the article, add it after the navigational templates and cleanup templates so that it is directly preceding the text. There should be no blank line between the template and the text.

{{other uses|Smoking (disambiguation)}}
{{Smoking}}
'''Smoking''' is a practice where a substance, most commonly [[tobacco]],
is burned and the [[smoke]] tasted or inhaled. This is primarily done as
a form of [[recreational drug use]], as [[combustion]] releases the
[[active ingredient]]s in drugs such as [[nicotine]] and makes them
available for absorption through the [[lung]]s.
For other uses, see Smoking (disambiguation).
Part of a series on
Smoking
Tobacco
  • Tobacco
  • Health effects
  • Advertising
  • Cessation
  • Industry
  • Politics
  • Prevalence of consumption
Cannabis
  • Cannabis
  • Plant
  • Effects
  • Legality
  • Medical use
  • Religious and spiritual use
Opium
  • Den
  • Opiate
  • Opioid
  • Papaver somniferum (opium poppy)
  • Psychoactive drug
  • First Opium War
  • Second Opium War
Crack
  • Cocaine
  • Epidemic
Other
  • DMT
  • Heroin
  • Meth
  • Narcotics
  • PCP
  • v
  • t
  • e

Smoking is a practice where a substance, most commonly tobacco, is burned and the smoke tasted or inhaled. This is primarily done as a form of recreational drug use, as combustion releases the active ingredients in drugs such as nicotine and makes them available for absorption through the lungs.

Expanding a section

edit

To expand a section by default, add "expanded = section" to the template, where section is one of the five listed above. The section within the template will therefore default as "show", rather than "hide". Remember to add the pipe symbol " | " (generally located above the enter or return key) to separate the template name and the parameters.

{{other uses|Smoking (disambiguation)}}
{{Smoking|expanded=tobacco}}
'''Smoking''' is a practice where a substance, most commonly [[tobacco]],
is burned and the [[smoke]] tasted or inhaled. This is primarily done as
a form of [[recreational drug use]], as [[combustion]] releases the
[[active ingredient]]s in drugs such as [[nicotine]] and makes them
available for absorption through the [[lung]]s.
For other uses, see Smoking (disambiguation).
Part of a series on
Smoking
Tobacco
  • Tobacco
  • Health effects
  • Advertising
  • Cessation
  • Industry
  • Politics
  • Prevalence of consumption
Cannabis
  • Cannabis
  • Plant
  • Effects
  • Legality
  • Medical use
  • Religious and spiritual use
Opium
  • Den
  • Opiate
  • Opioid
  • Papaver somniferum (opium poppy)
  • Psychoactive drug
  • First Opium War
  • Second Opium War
Crack
  • Cocaine
  • Epidemic
Other
  • DMT
  • Heroin
  • Meth
  • Narcotics
  • PCP
  • v
  • t
  • e

Smoking is a practice where a substance, most commonly tobacco, is burned and the smoke tasted or inhaled. This is primarily done as a form of recreational drug use, as combustion releases the active ingredients in drugs such as nicotine and makes them available for absorption through the lungs.

Expanding all sections

edit

To show all five sections at once add "expanded = all" to the template.

{{other uses|Smoking (disambiguation)}}
{{Smoking|expanded=all}}
'''Smoking''' is a practice where a substance, most commonly [[tobacco]],
is burned and the [[smoke]] tasted or inhaled. This is primarily done as
a form of [[recreational drug use]], as [[combustion]] releases the
[[active ingredient]]s in drugs such as [[nicotine]] and makes them
available for absorption through the [[lung]]s.
For other uses, see Smoking (disambiguation).
Part of a series on
Smoking
Tobacco
  • Tobacco
  • Health effects
  • Advertising
  • Cessation
  • Industry
  • Politics
  • Prevalence of consumption
Cannabis
  • Cannabis
  • Plant
  • Effects
  • Legality
  • Medical use
  • Religious and spiritual use
Opium
  • Den
  • Opiate
  • Opioid
  • Papaver somniferum (opium poppy)
  • Psychoactive drug
  • First Opium War
  • Second Opium War
Crack
  • Cocaine
  • Epidemic
Other
  • DMT
  • Heroin
  • Meth
  • Narcotics
  • PCP
  • v
  • t
  • e

Smoking is a practice where a substance, most commonly tobacco, is burned and the smoke tasted or inhaled. This is primarily done as a form of recreational drug use, as combustion releases the active ingredients in drugs such as nicotine and makes them available for absorption through the lungs.

See also

edit
  • Template:Tobacco
The above documentation is transcluded from Template:Smoking/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Smoking&oldid=1357074960"