Template:AtomMapping
From Metabolomics.JP
(Difference between revisions)
(5 intermediate revisions by one user not shown) | |||
Line 14: | 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}}}} | ||
|- | |- | ||
Line 25: | 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;"> | <div class="references-small" style="-moz-column-count:3; column-count:3;"> | ||
{{#repeat:AtomMapping/GetName|1| | {{#repeat:AtomMapping/GetName|1| | ||
Line 34: | Line 34: | ||
{{#SearchLine:{{#var:MAPLHS}}_{{#var:MAPRHS}}_{{#var:MAPNUM}}|Enzyme}} | {{#SearchLine:{{#var:MAPLHS}}_{{#var:MAPRHS}}_{{#var:MAPNUM}}|Enzyme}} | ||
{{#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> | </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 |