Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Substance: Difference between revisions

Template page
No edit summary
Automated sync
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<!-- This file is managed by the altered-wiki-src repository. Do not edit it directly on the wiki — changes will be overwritten on the next deploy. https://github.com/altered-wiki/altered-wiki-src -->
Infobox for substance articles. Automatically annotates the page with Semantic MediaWiki properties.
Infobox for substance articles. Automatically annotates the page with Semantic MediaWiki properties.


Line 53: Line 54:
             "label": "SMILES",
             "label": "SMILES",
             "type": "string"
             "type": "string"
         },
         }
        "legal_de": { "label": "Legal status — Germany", "type": "string" },
        "legal_at": { "label": "Legal status — Austria", "type": "string" },
        "legal_ch": { "label": "Legal status — Switzerland", "type": "string" },
        "legal_us": { "label": "Legal status — United States", "type": "string" },
        "legal_uk": { "label": "Legal status — United Kingdom", "type": "string" },
        "legal_nl": { "label": "Legal status — Netherlands", "type": "string" },
        "legal_ru": { "label": "Legal status — Russia", "type": "string" },
        "legal_by": { "label": "Legal status — Belarus", "type": "string" }
     },
     },
     "format": "block"
     "format": "block"

Latest revision as of 18:51, 12 May 2026

Infobox for substance articles. Automatically annotates the page with Semantic MediaWiki properties.

Infobox for psychoactive substance articles.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Display name. Defaults to page name.

Stringsuggested
Imageimage

Filename without the File: prefix.

Filesuggested
Image captionimage_caption

no description

Stringoptional
Substance classclass

Pharmacological class, e.g. Benzodiazepine, Opioid, Stimulant.

Stringsuggested
Prodrug ofprodrug_of

Active substance this is a prodrug of (bare name, no namespace).

Stringoptional
Molecular formulaformula

Use <sub> tags for subscripts.

Stringoptional
Molar mass (g/mol)molar_mass

no description

Numberoptional
CAS numbercas

no description

Stringoptional
IUPAC nameiupac

no description

Stringoptional
SMILESsmiles

no description

Stringoptional