Template:Infobox drug: Difference between revisions

From RACKWiki
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 16: Line 16:
     </tr>{{#if:{{{link_psychonautwiki|}}}{{{link_erowid|}}}|
     </tr>{{#if:{{{link_psychonautwiki|}}}{{{link_erowid|}}}|
     <tr>
     <tr>
       <th>Links</th>
       <th>External links</th>
       <td class="infobox-links">{{#if:{{{link_psychonautwiki|}}}|[{{{link_psychonautwiki}}} PsychonautWiki]<br/>}}{{#if:{{{link_erowid|}}}|[{{{link_erowid}}} Erowid]<br/>}}</td>
       <td class="infobox-links">{{#if:{{{link_psychonautwiki|}}}|[{{{link_psychonautwiki}}} PsychonautWiki]<br/>}}{{#if:{{{link_erowid|}}}|[{{{link_erowid}}} Erowid]<br/>}}</td>
     </tr>}}
     </tr>}}

Revision as of 13:21, 28 December 2023

Infobox drug
Health risk {{{health_risk}}}
Legal risk

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