Template:Chemical reaction
Appearance
{{{1}}}
| This template uses TemplateStyles: |
A template to easily create depictions of chemical reaction schemes. This is meant to be a flexible, user-friendly and generic substitute for TM:Enzymatic reaction and is based on TM:Biochem reaction subunit, especially its arrow drawing logic.
Usage
[edit]Construct a reaction scheme by joining the following subtemplates together:
- Template:Chemical reaction/compound
- Template:Chemical reaction/subunit
- Template:Chemical reaction/arrow
- Template:Chemical reaction/text
Example
[edit]See testcases for additional examples.
{{Chemical reaction|width=80%|
{{Chemical reaction/compound|Citrulline}}
{{Chemical reaction/text|+}}
{{Chemical reaction/compound|Aspartic acid}}
{{Chemical reaction/text|+ [[Adenosine triphosphate|ATP]]}}
{{Chemical reaction/arrow
|uppercaption=[[Argininosuccinate synthase|ASS]]
|direction=reversible
|fwd_in={{chem2|H2O}}|fwd_out=2P<sub>i</sub>
}}
{{Chemical reaction/subunit
|{{Chemical structure|Argininosuccinic acid|frameless}}
|caption=2-(''N''<sup> ω</sup>-<small>L</small>-arginino)succinate
|link=Argininosuccinate
}}
{{Chemical reaction/text|+ [[Adenosine monophosphate|AMP]]}}
}}
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Chemical reaction in articles based on its TemplateData.
TemplateData for Chemical reaction
Template to easily create depictions of chemical reaction schemes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | 1content | Wikitext representing the chemical reaction
| String | required |
| width | width | CSS width parameter value for entire reaction scheme
| String | optional |
Subtemplate documentation
[edit]- Template:Chemical reaction/subunit/doc
- Template:Chemical reaction/compound/doc
- Template:Chemical reaction/text/doc
- Template:Chemical reaction/arrow/doc