Template:Smoking Information & Template:Smoking Links at HealthHaven.com
advertise
add site
services
publishers
database
health videos
Bookmark and Share

search wiki for    ?
web dir firms image gallery news pdf wiki shop video 
about
toolbar
stats
live show
health store
more stuff
JOIN/LOGIN
Featured Results:
Quit Smoking - Smoking Cessation
Quit Smoking - Smoking Cessation
northeastcenter.com
 NicoNot - Herbal stop smoking, How to stop smoking, Help stop smoking,...
NicoNot - Herbal stop smoking, How to stop smoking, Help stop smoking,...
cuherbal.com
 Time To Bin Smoking Smoking - Stop Smoking News - Stop Smoking With...
Time To Bin Smoking Smoking - Stop Smoking News - Stop Smoking With...
harleystreetstopsmokingcl...
 Keizer Stop Smoking, Salem Stop Smoking, Corvallis Stop Smoking, Albany...
Keizer Stop Smoking, Salem Stop Smoking, Corvallis Stop Smoking, Albany...
smilesthatshine.com
 
[edit] [purge] Template-info.svg Template documentation

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

[edit] Parameters

Each of the five sections has a function that controls whether not it defaults as show or hide. There is also a sixth function "showAll" can display all five at once. If the sixth function is used in conjunction with any of the five, then that section will default as hide.

  • showTobacco can be activated by passing a "yes" into the function.
  • showCannabis can be activated by passing a "yes" into the function.
  • showOpium can be activated by passing a "yes" into the function.
  • showCrack can be activated by passing a "yes" into the function.
  • showOther can be activated by passing a "yes" into the function.
  • showAll can be activated by passing a "yes" into the function.

[edit] Example

[edit] 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.

 {{two other uses||the food preparation|Smoking (cooking)}} {{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 substance]]s in drugs such as [[nicotine]] and makes them available for absorption through the [[lung]]s. 

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 substances in drugs such as nicotine and makes them available for absorption through the lungs.

[edit] showTobacco

To show the first section or any of the five, add the attribute "showTobacco=yes" to the template. 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.

 {{two other uses||the food preparation|Smoking (cooking)}} {{Smoking|showTobacco=yes}} '''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 substance]]s in drugs such as [[nicotine]] and makes them available for absorption through the [[lung]]s. 

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 substances in drugs such as nicotine and makes them available for absorption through the lungs.

[edit] showTobacco and showCannabis

To show the first and second section ("Tobacco" and "Cannabis"), add both parameters to the template separate by the pipe symbol " | ".

 {{two other uses||the food preparation|Smoking (cooking)}} {{Smoking|showTobacco=yes|showCannabis=yes}} '''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 substance]]s in drugs such as [[nicotine]] and makes them available for absorption through the [[lung]]s. 

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 substances in drugs such as nicotine and makes them available for absorption through the lungs.

[edit] showAll

To show all five sections at once without having to add the parameter for each add "showAll=yes" to the template. Remember to remove all other parameters when doing so.

 {{two other uses||the food preparation|Smoking (cooking)}} {{Smoking|showAll=yes}} '''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 substance]]s in drugs such as [[nicotine]] and makes them available for absorption through the [[lung]]s. 

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 substances in drugs such as nicotine and makes them available for absorption through the lungs.

[edit] Assigning parameters by deduction

Occasionally you may show all sections except for a selected few. This becomes useful when showing all four or three out of the five sections. Rather than assigning the parameter "showTobacco=yes|showCannabis=yes..." and so forth, assign "showAll=yes" and then the sections you do not want to show (e.g. "showCrack=yes").

 {{two other uses||the food preparation|Smoking (cooking)}} {{Smoking|showAll=yes|showCrack=yes|showOther=yes}} '''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 substance]]s in drugs such as [[nicotine]] and makes them available for absorption through the [[lung]]s. 

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 substances in drugs such as nicotine and makes them available for absorption through the lungs.

[edit] See also




Product Results (view all...)

search wiki for    ?
web dir firms image gallery news pdf wiki shop video 



↑ top of page ↑about thumbshots