Template:AtomMapping
From Metabolomics.JP
(Difference between revisions)
Line 7: | Line 7: | ||
</noinclude> | </noinclude> | ||
{{#def:ATOMMAP|{{{map}}}}} | {{#def:ATOMMAP|{{{map}}}}} | ||
− | |||
{{#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}}}} | ||
Line 22: | Line 21: | ||
! align="center" | {{#var:NAMERIGHT}} | ! align="center" | {{#var:NAMERIGHT}} | ||
|- | |- | ||
− | |align="center"|{{ | + | |align="center"|{{{figureLeft|[[Image:{{#var:MAPLHS}}.png|150px]]}}} |
|align="center"|{{AtomMapping/ListPosition|{{{map}}}}} | |align="center"|{{AtomMapping/ListPosition|{{{map}}}}} | ||
− | |align="center"|{{ | + | |align="center"|{{{figureRight|[[Image:{{#var:MAPRHS}}.png|150px]]}}} |
|} | |} | ||
</center> | </center> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#ifexpr:0 <= {{#var:MAPNUM}}| | {{#ifexpr:0 <= {{#var:MAPNUM}}| |
Revision as of 09:17, 25 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 <=.