Template:AtomMapping
From Metabolomics.JP
(Difference between revisions)
(27 intermediate revisions by one user not shown) | |||
Line 5: | Line 5: | ||
---- | ---- | ||
</noinclude> | </noinclude> | ||
+ | {{#ifeq:{{#var:PIC_SCALE}}||{{#def:PIC_SCALE|300}}}} | ||
{{#def:ATOMMAP|{{{map}}}}} | {{#def:ATOMMAP|{{{map}}}}} | ||
− | {{#def:MAPLHS|{{#car:{{{1|}}}|$}}}} | + | {{#def:MAPLHS|{{#car:{{{1|dummy$dummy$0}}}|$}}}} |
− | {{#def:MAPRHS|{{#cadr:{{{1|}}}|$}}}} | + | {{#def:MAPRHS|{{#cadr:{{{1|dummy$dummy$0}}}|$}}}} |
− | {{#def:MAPNUM|{{#cddr:{{{1|}}}|$}}}} | + | {{#def:MAPNUM|{{#cddr:{{{1|dummy$dummy$0}}}|$}}}} |
<center> | <center> | ||
{| | {| | ||
|- | |- | ||
− | ! align="center" | {{Metabolite/ | + | ! align="center" | {{Metabolite/GetSysName|{{#var:MAPLHS}}}} |
− | ! align="center" | | + | ! align="center" | <Mapping><br/><small>{{AtomMapping/Link|{{#trim: {{{1}}} }} }} {{#switch:{{#var:MAPNUM}}|=|0=|1=(2nd)|2=(3rd)|default ({{#var:MAPNUM}}th)}}</small> |
− | ! align="center" | {{Metabolite/ | + | ! align="center" | {{Metabolite/GetSysName|{{#var:MAPRHS}}}} |
|- | |- | ||
− | |align="center"|{{#if:{{{figureLeft|}}}|{{{figureLeft}}}|[[Image:{{#var:MAPLHS}}.png| | + | |align="center"|{{#if:{{{figureLeft|}}}|{{{figureLeft}}}|[[Image:{{#var:MAPLHS}}.png|thumb|{{#var:PIC_SCALE}}px]]}} |
|align="center"|{{AtomMapping/ListPosition|{{{map}}}}} | |align="center"|{{AtomMapping/ListPosition|{{{map}}}}} | ||
− | |align="center"|{{#if:{{{figureRight|}}}|{{{figureRight}}}|[[Image:{{#var:MAPRHS}}.png| | + | |align="center"|{{#if:{{{figureRight|}}}|{{{figureRight}}}|[[Image:{{#var:MAPRHS}}.png|thumb|{{#var:PIC_SCALE}}px]]}} |
|} | |} | ||
</center> | </center> | ||
Line 24: | Line 25: | ||
{{#ifeq:{{#car:{{FULLPAGENAME}}|:}}|Enzyme|| | {{#ifeq:{{#car:{{FULLPAGENAME}}|:}}|Enzyme|| | ||
{{#if:{{{1|}}}| | {{#if:{{{1|}}}| | ||
− | ; Related Mappings : | + | ; Related Mappings, Enzymes, and Pathways |
− | {{#repeat:AtomMapping/ | + | <div class="references-small" style="-moz-column-count:3; column-count:3;"> |
− | {{#SearchTitle:{{#var:MAPLHS}} | + | {{#repeat:AtomMapping/GetName|1| |
− | {{#SearchTitle:{{#var:MAPRHS}} | + | {{#SearchTitle:{{#var:MAPLHS}}.{{#var:MAPRHS}}|AtomMap}} |
+ | {{#SearchTitle:{{#var:MAPRHS}}.{{#var:MAPLHS}}|AtomMap}} | ||
}} | }} | ||
− | + | {{#repeat:AtomMapping/ECNumber|1| | |
− | {{#repeat:AtomMapping/ | + | {{#SearchLine:{{#var:MAPLHS}}_{{#var:MAPRHS}}_{{#var:MAPNUM}}|Enzyme}} |
− | {{#SearchLine:{{#var:MAPLHS}}_{{#var:MAPRHS}}_{{#var:MAPNUM}}|}} | + | {{#SearchLine:{{#var:MAPRHS}}_{{#var:MAPLHS}}_{{#var:MAPNUM}}|Enzyme}} |
− | {{#SearchLine:{{#var:MAPRHS}}_{{#var:MAPLHS}}_{{#var:MAPNUM}}|}} | + | |
}} | }} | ||
+ | {{#repeat:AtomMapping/Pathway|1| | ||
+ | {{#SearchLine:{{#var:MAPLHS}}_{{#var:MAPRHS}}_{{#var:MAPNUM}}|Pathway}} | ||
+ | {{#SearchLine:{{#var:MAPRHS}}_{{#var:MAPLHS}}_{{#var:MAPNUM}}|Pathway}} | ||
+ | }} | ||
+ | </div> | ||
}} | }} | ||
}} | }} |
Latest revision as of 14:45, 22 July 2009
Usage:
{{{1}}} ... mapping label (usually PAGENAME)
{{{map}}} ... pair of atomic positions
[[dummy|]] | <Mapping> [[AtomMap:${{{1}}}$]] |
[[dummy|]] |
---|---|---|
File:Dummy.png 300px |
{{{map}}} ↔ |
File:Dummy.png 300px |