| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Quit Smoking - Smoking Cessation northeastcenter.com | NicoNot - Herbal stop smoking, How to stop smoking, Help stop smoking,... cuherbal.com | Time To Bin Smoking Smoking - Stop Smoking News - Stop Smoking With... harleystreetstopsmokingcl... | Keizer Stop Smoking, Salem Stop Smoking, Corvallis Stop Smoking, Albany... smilesthatshine.com |
[edit] [] 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.
[edit] ParametersEach 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.
[edit] Example[edit] Basic operationTo 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. For the food preparation, see Smoking (cooking). For other uses, see Smoking (disambiguation). 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] showTobaccoTo 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. For the food preparation, see Smoking (cooking). For other uses, see Smoking (disambiguation). Other 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 showCannabisTo 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. For the food preparation, see Smoking (cooking). For other uses, see Smoking (disambiguation). Other 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] showAllTo 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. For the food preparation, see Smoking (cooking). For other uses, see Smoking (disambiguation). Opium poppy · Opiate · Opioid 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 deductionOccasionally 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. For the food preparation, see Smoking (cooking). For other uses, see Smoking (disambiguation). 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 |
| ↑ top of page ↑ | about thumbshots |