మూస:Smoking/doc
This is a documentation subpage for మూస:Smoking. It may contain usage information, categories and other content that is not part of the original మూస page. |
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.
Parameters
మార్చుThis template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{Smoking/doc |expanded=all}}
or, if enabled,{{Smoking/doc |all}}
(i.e. omitting "expanded=
").
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{Smoking/doc |expanded=listname}}
or, if enabled,{{Smoking/doc |listname}}
- …where listname is one of the following (do not include any quotemarks):
"tobacco", "cannabis", "opium", "crack", "other"
- For example,
{{Smoking/doc |expanded=opium}}
or, if enabled,{{Smoking/doc |opium}}
Examples
మార్చుBasic operation
మార్చు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.
Part of a series on |
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 ingredients in drugs such as nicotine and makes them available for absorption through the lungs.
Expanding a section
మార్చు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.
Part of a series on |
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 ingredients in drugs such as nicotine and makes them available for absorption through the lungs.
Expanding all sections
మార్చు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.
Part of a series on |
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 ingredients in drugs such as nicotine and makes them available for absorption through the lungs.
See also
మార్చు