🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Template:Chemical_structure/doc
Jump to content

Template:Chemical structure/doc

From Wikipedia, the free encyclopedia

Substitution of this template generates wikitext for the chemical structure image associated with a supplied chemical compound. The image reference is retrieved via Wikidata. Optionally, one may supply the Wikidata qualifier ID with the qid parameter instead of naming the chemical compound.

Parameters are those found on the image syntax page.

Note: When alt text is not supplied it defaults to: "2D representation of the chemical structure of {{{1}}}", where 1 is the supplied chemical compound name.

Examples

[edit]
Wikitext input Wikitext output Renders as
{{Chemical structure|Arginine}}
{{Chemical structure|Arginine}}
2D representation of the chemical structure of Arginine.
Arginine
{{subst:Chemical structure|Arginine}}
[[File:L-Arginin - L-Arginine.svg|thumb|class=skin-invert-image|Arginine|alt=2D representation of the chemical structure of Arginine.]]<!-- Template:Chemical structure -->
2D representation of the chemical structure of Arginine.
Arginine
{{subst:Chemical structure|Erythromycin|frameless|upright=0.5}}
[[File:Erythromycin A skeletal.svg|frameless|upright=0.5|class=skin-invert-image|Erythromycin|alt=2D representation of the chemical structure of Erythromycin.]]<!-- Template:Chemical structure -->
2D representation of the chemical structure of Erythromycin.

See also

[edit]