Template:Enzyme/ListMapping

From Metabolomics.JP
< Template:Enzyme(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
|{{#ifexist:Lipid:{{#var:MAPREV}}
 
|{{#ifexist:Lipid:{{#var:MAPREV}}
 
   |{{Error|Both mappings [[Lipid:{{{1}}}]] and [[Lipid:{{#var:MAPREV}}]] exist.}}
 
   |{{Error|Both mappings [[Lipid:{{{1}}}]] and [[Lipid:{{#var:MAPREV}}]] exist.}}
   |{{#def:MAPDIR|true}} fooo }}
+
   |{{#def:MAPDIR|true}}
 +
  {{AtomMapping|{{{1}}}|map={{#cdr:{{#SearchLine:map=|Lipid|{{{1}}}}}|=}} }}
 +
}}
 
|{{#ifexist:Lipid:{{#var:MAPREV}}
 
|{{#ifexist:Lipid:{{#var:MAPREV}}
   |{{#def:MAPDIR|false}} heee
+
   |{{#def:MAPDIR|false}}
 +
  {{AtomMapping|{{{1}}}|map={{#cdr:{{#SearchLine:map=|Lipid|{{#var:MAPREV}}}}|=}} }}
 
   |{{Error|Neither mapping [[Lipid:{{{1}}}]] nor [[Lipid:{{#var:MAPREV}}]] exist.}}}}
 
   |{{Error|Neither mapping [[Lipid:{{{1}}}]] nor [[Lipid:{{#var:MAPREV}}]] exist.}}}}
 
}}
 
}}
----
 
LABEL IS "{{{1}}}" {{#ifexist:Lipid:{{{1}}}|yes|no}}
 
{{#var:MAPDIR}}
 
----
 
{{AtomMapping|{{{1}}}|map={{#cdr:{{#SearchLine:map=|Lipid|{{#ifeq:{{#var:MAPDIR}}|true|{{{1}}}|{{#var:MAPREV}}}}}}|=}} }}
 

Revision as of 15:15, 25 January 2009


ERROR: Neither mapping [[Lipid:{{{1}}}]] nor Lipid:$$ exist.

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox