Template:AtomMapping
From Metabolomics.JP
(Difference between revisions)
(11 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|dummy$dummy$0}}}|$}}}} | {{#def:MAPLHS|{{#car:{{{1|dummy$dummy$0}}}|$}}}} | ||
Line 13: | Line 14: | ||
|- | |- | ||
! align="center" | {{Metabolite/GetSysName|{{#var:MAPLHS}}}} | ! 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/GetSysName|{{#var:MAPRHS}}}} | ! 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 |
+ | <div class="references-small" style="-moz-column-count:3; column-count:3;"> | ||
{{#repeat:AtomMapping/GetName|1| | {{#repeat:AtomMapping/GetName|1| | ||
{{#SearchTitle:{{#var:MAPLHS}}.{{#var:MAPRHS}}|AtomMap}} | {{#SearchTitle:{{#var:MAPLHS}}.{{#var:MAPRHS}}|AtomMap}} | ||
Line 33: | Line 35: | ||
{{#SearchLine:{{#var:MAPRHS}}_{{#var:MAPLHS}}_{{#var:MAPNUM}}|Enzyme}} | {{#SearchLine:{{#var:MAPRHS}}_{{#var:MAPLHS}}_{{#var:MAPNUM}}|Enzyme}} | ||
}} | }} | ||
+ | {{#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 |