Template:Smoking/doc

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.

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.

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.

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.

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.