Template:AtomMapping
From Metabolomics.JP
(Difference between revisions)
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
{{#def:ATOMMAP|{{{map}}}}} | {{#def:ATOMMAP|{{{map}}}}} | ||
+ | {{#def:MAPDIR|{{{dir|}}}}} | ||
{{#def:FIGLEFT|{{#ifeq:{{#var:MAPLHS}}|{{#car:{{{1}}}|$}}|false|true}}}} | {{#def:FIGLEFT|{{#ifeq:{{#var:MAPLHS}}|{{#car:{{{1}}}|$}}|false|true}}}} | ||
{{#def:FIGRIGHT|{{#ifeq:{{#var:MAPRHS}}|{{#cadr:{{{1}}}|$}}|false|true}}}} | {{#def:FIGRIGHT|{{#ifeq:{{#var:MAPRHS}}|{{#cadr:{{{1}}}|$}}|false|true}}}} |
Revision as of 22:20, 24 January 2009
Usage:
{{{1}}} ... mapping label (usually PAGENAME)
{{{map}}} ... pair of atomic positions
{{{dir}}} ... rightward or leftward
[[{{{1}}}|]] | Mapping | [[|(E)-3-Phenyl-2-propenoic acid]] |
---|---|---|
[[Image:{{{1}}}.png|150px]] | {{{map}}} ↔ |
150px |
Expression error: Missing operand for <=.