Template:Infobox drug

From RACKWiki
Revision as of 11:48, 28 December 2023 by Psynapse (talk | contribs) (Created page with "<templatestyles src="Infobox drug/styles.css" /><div class="infobox infobox-drug"> <div class="infobox-title">{{PAGENAME}}</div> <table class="table">{{#if:{{{other_names|}}}|<tr> <th class="infobox-table-section-end">Other names</th> <td class="infobox-table-section-end">{{{other_names}}}</td> </tr>}}{{#if:{{{image_file|}}}|<tr><td colspan="2" class="infobox-image"> [[File:{{{image_file}}}|320px]]</td></tr>{{#if:{{{image_caption|}}}|<tr> <td cols...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Infobox drug
Health risk {{{health_risk}}}
Legal risk
Links

This Infobox summarizes a drug at the top of the article.

[Edit template data]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Other namesother_names

Other names for this drug

Example
Crystal, Ice, Tina
Contentoptional
Article imageimage_file

An relevant image

Example
Methamphetamine.jpg
Fileoptional
Article image captionimage_caption

A caption for the article image

Contentoptional
Health riskhealth_risk

Classify the health risk of this drug. Choose from: High, Moderate, Low.

Example
High
Contentrequired
Legal risklegal_risk

Classify the legal risk of this drug. Choose from: High, Moderate, Low

Example
High
Contentrequired
Link to PsychonautWiki articlelink_psychonautwiki

Provide a link to the PsychonautWiki article about this drug

Example
https://psychonautwiki.org/wiki/Methamphetamine
URLrequired
Link to Erowid articlelink_erowid

Provide a link to the Erowid article about this drug

Example
https://erowid.org/chemicals/meth/meth.shtml
URLrequired