Template:Infobox drug: Difference between revisions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 9: | Line 9: | ||
<tr> | <tr> | ||
<th>Health risk</th> | <th>Health risk</th> | ||
<td class="infobox-health_risk health_risk-{{{ | <td class="infobox-health-risk infobox-risk-{{{health_risk}}}">{{{health_risk}}}</td> | ||
</tr> | |||
<tr> | |||
<th>Addiction risk</th> | |||
<td class="infobox-addiction-risk infobox-risk-{{{addiction_risk}}}">{{{addiction_risk}}}</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th>Legal risk</th> | <th>Legal risk</th> | ||
<td class="infobox- | <td class="infobox-legal-risk infobox-risk-{{{legal_risk}}}">{{{legal_risk}}}</td> | ||
</tr>{{#if:{{{link_psychonautwiki|}}}{{{link_erowid|}}}| | </tr>{{#if:{{{link_psychonautwiki|}}}{{{link_erowid|}}}| | ||
<tr> | <tr> | ||
Line 46: | Line 50: | ||
"description": "Classify the health risk of this drug. Choose from: High, Moderate, Mild.", | "description": "Classify the health risk of this drug. Choose from: High, Moderate, Mild.", | ||
"example": "High", | "example": "High", | ||
"type": " | "type": "line", | ||
"required": true | |||
}, | |||
"addiction_risk": { | |||
"label": "Addiction risk", | |||
"description": "Classify the addiction risk of this drug. Choose from: High, Moderate, Mild.", | |||
"example": "High", | |||
"type": "line", | |||
"required": true | "required": true | ||
}, | }, | ||
Line 53: | Line 64: | ||
"description": "Classify the legal risk of this drug. Choose from: High, Moderate, Mild.", | "description": "Classify the legal risk of this drug. Choose from: High, Moderate, Mild.", | ||
"example": "High", | "example": "High", | ||
"type": " | "type": "line", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 76: | Line 87: | ||
"image_caption", | "image_caption", | ||
"health_risk", | "health_risk", | ||
"addiction_risk", | |||
"legal_risk", | "legal_risk", | ||
"link_psychonautwiki", | "link_psychonautwiki", |
Revision as of 13:25, 28 December 2023
Infobox drug
Health risk | {{{health_risk}}} |
---|---|
Addiction risk | {{{addiction_risk}}} |
Legal risk | {{{legal_risk}}} |
This Infobox summarizes a drug at the top of the article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Other names | other_names | Other names for this drug
| Content | optional |
Article image | image_file | An relevant image
| File | optional |
Article image caption | image_caption | A caption for the article image | Content | optional |
Health risk | health_risk | Classify the health risk of this drug. Choose from: High, Moderate, Mild.
| Line | required |
Addiction risk | addiction_risk | Classify the addiction risk of this drug. Choose from: High, Moderate, Mild.
| Line | required |
Legal risk | legal_risk | Classify the legal risk of this drug. Choose from: High, Moderate, Mild.
| Line | required |
Link to PsychonautWiki article | link_psychonautwiki | Provide a link to the PsychonautWiki article about this drug
| URL | required |
Link to Erowid article | link_erowid | Provide a link to the Erowid article about this drug
| URL | required |