Template:Enzyme/ListMapping
From Metabolomics.JP
< Template:Enzyme(Difference between revisions)
Line 2: | Line 2: | ||
{{#def:MAPREV|{{#cadr:{{{1|}}}|$}}${{#car:{{{1|}}}|$}}${{#cddr:{{{1|}}}|$}}}} | {{#def:MAPREV|{{#cadr:{{{1|}}}|$}}${{#car:{{{1|}}}|$}}${{#cddr:{{{1|}}}|$}}}} | ||
<!---Check whether the mapping label exists ---> | <!---Check whether the mapping label exists ---> | ||
− | {{#ifexist:Lipid:{{{1}}} | + | {{#ifexist:Lipid:{{{1}}}|{{#ifexist:Lipid:{{#var:MAPREV}}|{{Error|Both mappings [[Lipid:{{{1}}}]] and [[Lipid:{{#var:MAPREV}}]] exist.}}|{{#def:MAPDIR|true}}}} |
− | |{{#ifexist:Lipid:{{#var:MAPREV}}|{{Error|Both mappings [[Lipid:{{{1}}}]] and [[Lipid:{{#var:MAPREV}}]] exist.}}|{{#def:MAPDIR|true}}}} | + | |
|{{#ifexist:Lipid:{{#var:MAPREV}}|{{#def:MAPDIR|false}}|{{Error|Neither mapping [[Lipid:{{{1}}}]] nor [[Lipid:{{#var:MAPREV}}]] exist.}}}} | |{{#ifexist:Lipid:{{#var:MAPREV}}|{{#def:MAPDIR|false}}|{{Error|Neither mapping [[Lipid:{{{1}}}]] nor [[Lipid:{{#var:MAPREV}}]] exist.}}}} | ||
}} | }} |
Revision as of 14:45, 25 January 2009
ERROR: Neither mapping [[Lipid:{{{1}}}]] nor Lipid:$$ exist.
LABEL IS "{{{1}}}"
[[{{{1}}}|]] | <Mapping> [[AtomMap:${{{1}}}$]] |
#ifeq: |
---|---|---|
[[Image:{{{1}}}.png|thumb|300px]] | File:.png 300px |
- Related Mappings, Enzymes, and Pathways