Template:RelationTable: Difference between revisions

(Created page with "{| class="collapsible {{#ifeq:{{#substring:{{FULLPAGENAME}}|0|10}}|Reference:||}}" width="50%" style="margin: 1em auto" |- style="background:#ccf" ! Reported Metabolites, Refe...")
 
No edit summary
Line 1: Line 1:
{{#deftemp:Row2|((#cr:))((#Bar:))- valign="top" ((#cr:))((#bar:)){{{1}}}
((#Bar:))((#Bar:))[[{{#trim:{{{2}}}}}]]
((#Bar:))((#Bar:))((#nth:((#SearchLine: Common Name=||(((2|))) ))|3|&&))
((#Bar:)) style="text-align:center" ((#Bar:))This page((#cr:)) }}
{{#deftemp:Row3|((#cr:))((#Bar:))- valign="top" ((#cr:))((#bar:))[[Species:((#car:(((2)))))|''(((2)))'']]
((#Bar:))((#Bar:))[[(((3)))]]
((#Bar:)) style="text-align:center" ((#Bar:))((#ifeq:(((3)))|((PAGENAME))|See above.|((#forcedbr:((#nth:((#SearchLine:Common Name=||(((3|)))))|3|&&)) )) ))
((#Bar:))((#Bar:))[[Reference:(((1)))|((RelationTable/GetFirstAuthor|((#car:(((1)))|,)) )) ((#nth:(((1)))|3|,))]] ((#Cr:))
}}
{| class="collapsible {{#ifeq:{{#substring:{{FULLPAGENAME}}|0|10}}|Reference:||}}" width="50%" style="margin: 1em auto"
{| class="collapsible {{#ifeq:{{#substring:{{FULLPAGENAME}}|0|10}}|Reference:||}}" width="50%" style="margin: 1em auto"
|- style="background:#ccf"
|- style="background:#ccf"
Line 11: Line 22:
!Reference
!Reference
|-
|-
{{#ifeq:{{#substring:{{FULLPAGENAME}}|0|9}}|Reference|{{#repeat: RelationTable/Row2|1|{{{1|}}} }}|{{#repeat: RelationTable/Row3|1|{{{1|}}} }}}}
{{#ifeq:{{#substring:{{FULLPAGENAME}}|0|9}}|Reference|{{#repeat:Row2|1|{{{1|}}} }}|{{#repeat: Row3|1|{{{1|}}} }}}}
|}
|}
|}
|}

Revision as of 04:26, 8 July 2014

{{#deftemp:Row2|((#cr:))((#Bar:))- valign="top" ((#cr:))((#bar:)){{{1}}} ((#Bar:))((#Bar:))[[{{{2}}}]] ((#Bar:))((#Bar:))((#nth:((#SearchLine: Common Name=||(((2|))) ))|3|&&)) ((#Bar:)) style="text-align:center" ((#Bar:))This page((#cr:)) }}

{{#deftemp:Row3|((#cr:))((#Bar:))- valign="top" ((#cr:))((#bar:))(((2))) ((#Bar:))((#Bar:))(((3))) ((#Bar:)) style="text-align:center" ((#Bar:))((#ifeq:(((3)))|((PAGENAME))|See above.|((#forcedbr:((#nth:((#SearchLine:Common Name=||(((3|)))))|3|&&)) )) )) ((#Bar:))((#Bar:))((RelationTable/GetFirstAuthor|((#car:(((1)))|,)) )) ((#nth:(((1)))|3|,)) ((#Cr:)) }}

Reported Metabolites, References
Species ID Metabolite Name Reference