Difference between revisions of "Template:Biochem reaction arrow alt text"

From blackwiki
Jump to navigation Jump to search
imported>GKFX
(Create template)
 
imported>GKFX
(Add reversible cases)
Line 1: Line 1:
{{Construction}}
+
<noinclude>{{Construction}}</noinclude>
 
{{#switch: {{{1}}}-{{{6}}}
 
{{#switch: {{{1}}}-{{{6}}}
 
|forward-horiz = Rightward
 
|forward-horiz = Rightward
Line 10: Line 10:
 
|forward-horiz = {{#if:{{{2|}}}{{{5|}}}|minor substrate(s) from {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} left}} {{#if:{{{2|}}}{{{5|}}}|{{#if:{{{3|}}}{{{4|}}}|and}}}} {{#if:{{{3|}}}{{{4|}}}|minor product(s) to {{#switch:{{#if:{{{3|}}}|Y|N}}{{#if:{{{4|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} right}}
 
|forward-horiz = {{#if:{{{2|}}}{{{5|}}}|minor substrate(s) from {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} left}} {{#if:{{{2|}}}{{{5|}}}|{{#if:{{{3|}}}{{{4|}}}|and}}}} {{#if:{{{3|}}}{{{4|}}}|minor product(s) to {{#switch:{{#if:{{{3|}}}|Y|N}}{{#if:{{{4|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} right}}
 
|reverse-horiz = {{#if:{{{2|}}}{{{5|}}}|minor product(s) to {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} left}} {{#if:{{{2|}}}{{{5|}}}|{{#if:{{{3|}}}{{{4|}}}|and}}}} {{#if:{{{3|}}}{{{4|}}}|minor substrate(s) from {{#switch:{{#if:{{{3|}}}|Y|N}}{{#if:{{{4|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} right}}
 
|reverse-horiz = {{#if:{{{2|}}}{{{5|}}}|minor product(s) to {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} left}} {{#if:{{{2|}}}{{{5|}}}|{{#if:{{{3|}}}{{{4|}}}|and}}}} {{#if:{{{3|}}}{{{4|}}}|minor substrate(s) from {{#switch:{{#if:{{{3|}}}|Y|N}}{{#if:{{{4|}}}|Y|N}}|YN=top|NY=bottom|YY=top and bottom}} right}}
|reversible-horiz = Reversible left-right
+
|reversible-horiz = {{#invoke:Separated entries|comma|conjunction=&#32;and&#32;|{{#if:{{{2|}}}|minor forward substrate(s) from top left}}|{{#if:{{{3|}}}|minor forward product(s) to top right}}|{{#if:{{{4|}}}|minor reverse substrate(s) from bottom right}}|{{#if:{{{5|}}}|minor reverse product(s) to bottom left}}}}
 
|forward-vert = {{#if:{{{2|}}}{{{3|}}}|minor substrate(s) from top {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{3|}}}|Y|N}}|YN=left|NY=right|YY=left and right}}}} {{#if:{{{2|}}}{{{3|}}}|{{#if:{{{4|}}}{{{5|}}}|and}}}} {{#if:{{{4|}}}{{{5|}}}|minor products(s) to bottom {{#switch:{{#if:{{{4|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=right|NY=left|YY=left and right}}}}
 
|forward-vert = {{#if:{{{2|}}}{{{3|}}}|minor substrate(s) from top {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{3|}}}|Y|N}}|YN=left|NY=right|YY=left and right}}}} {{#if:{{{2|}}}{{{3|}}}|{{#if:{{{4|}}}{{{5|}}}|and}}}} {{#if:{{{4|}}}{{{5|}}}|minor products(s) to bottom {{#switch:{{#if:{{{4|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=right|NY=left|YY=left and right}}}}
 
|reverse-vert = {{#if:{{{2|}}}{{{3|}}}|minor products(s) to top {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{3|}}}|Y|N}}|YN=left|NY=right|YY=left and right}}}} {{#if:{{{2|}}}{{{3|}}}|{{#if:{{{4|}}}{{{5|}}}|and}}}} {{#if:{{{4|}}}{{{5|}}}|minor substrate(s) to bottom {{#switch:{{#if:{{{4|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=right|NY=left|YY=left and right}}}}
 
|reverse-vert = {{#if:{{{2|}}}{{{3|}}}|minor products(s) to top {{#switch:{{#if:{{{2|}}}|Y|N}}{{#if:{{{3|}}}|Y|N}}|YN=left|NY=right|YY=left and right}}}} {{#if:{{{2|}}}{{{3|}}}|{{#if:{{{4|}}}{{{5|}}}|and}}}} {{#if:{{{4|}}}{{{5|}}}|minor substrate(s) to bottom {{#switch:{{#if:{{{4|}}}|Y|N}}{{#if:{{{5|}}}|Y|N}}|YN=right|NY=left|YY=left and right}}}}
|reversible-vert = Reversible up-down}}
+
|reversible-vert = {{#invoke:Separated entries|comma|conjunction=&#32;and&#32;|{{#if:{{{2|}}}|minor reverse product(s) to top left}}|{{#if:{{{3|}}}|minor forward substrate(s) from top right}}|{{#if:{{{4|}}}|minor forward product(s) to bottom right}}|{{#if:{{{5|}}}|minor reverse substrate(s) from bottom left}}}}}}

Revision as of 10:51, 17 September 2017

  1. REDIRECT Template:Under construction
reaction arrow