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
Line 53: Line 53:
             "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"

Revision as of 18:10, 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