Template:Map/Glycerophospholipid/Expression: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{#def:max|{{#lua: print(math.max({{{1|1}}},{{{2|2}}},{{{3|3}}},{{{4|4}}},{{{5|5}}},{{{6|6}}},{{{7|7}}}))
{{#def:max|{{#lua: print(math.max({{{1|1}}},{{{2|1}}},{{{3|1}}},{{{4|1}}},{{{5|1}}},{{{6|1}}},{{{7|1}}}))
|}}}}
|}}}}
<table cellpadding="0" cellspacing="1">
<table cellpadding="0" cellspacing="1">
Line 10: Line 10:
   </td>
   </td>
   <td valign="bottom">
   <td valign="bottom">
   <table cellpadding="0" cellspacing="0" style="background-color: #aa0000; width: 4px; height: {{#expr:20*{{{2|2}}}/{{#var:max}}}}px">
   <table cellpadding="0" cellspacing="0" style="background-color: #aa0000; width: 4px; height: {{#expr:20*{{{2|1}}}/{{#var:max}}}}px">
     <tr><td> </td></tr>
     <tr><td> </td></tr>
   </table>
   </table>
   </td>
   </td>
   <td valign="bottom">
   <td valign="bottom">
   <table cellpadding="0" cellspacing="0" style="background-color: #888800; width: 4px; height: {{#expr:20*{{{3|3}}}/{{#var:max}}}}px">
   <table cellpadding="0" cellspacing="0" style="background-color: #888800; width: 4px; height: {{#expr:20*{{{3|1}}}/{{#var:max}}}}px">
     <tr><td> </td></tr>
     <tr><td> </td></tr>
   </table>
   </table>
   </td>
   </td>
   <td valign="bottom">
   <td valign="bottom">
   <table cellpadding="0" cellspacing="0" style="background-color: #00ff00; width: 4px; height: {{#expr:20*{{{4|4}}}/{{#var:max}}}}px">
   <table cellpadding="0" cellspacing="0" style="background-color: #00ff00; width: 4px; height: {{#expr:20*{{{4|1}}}/{{#var:max}}}}px">
     <tr><td> </td></tr>
     <tr><td> </td></tr>
   </table>
   </table>
   </td>
   </td>
   <td valign="bottom">
   <td valign="bottom">
   <table cellpadding="0" cellspacing="0" style="background-color: #008888; width: 4px; height: {{#expr:20*{{{5|5}}}/{{#var:max}}}}px">
   <table cellpadding="0" cellspacing="0" style="background-color: #008888; width: 4px; height: {{#expr:20*{{{5|1}}}/{{#var:max}}}}px">
     <tr><td> </td></tr>
     <tr><td> </td></tr>
   </table>
   </table>
   </td>
   </td>
   <td valign="bottom">
   <td valign="bottom">
   <table cellpadding="0" cellspacing="0" style="background-color: #0000aa; width: 4px; height: {{#expr:20*{{{6|6}}}/{{#var:max}}}}px">
   <table cellpadding="0" cellspacing="0" style="background-color: #0000aa; width: 4px; height: {{#expr:20*{{{6|1}}}/{{#var:max}}}}px">
     <tr><td> </td></tr>
     <tr><td> </td></tr>
   </table>
   </table>
   </td>
   </td>
   <td valign="bottom">
   <td valign="bottom">
   <table cellpadding="0" cellspacing="0" style="background-color: #0000ff; width: 4px; height: {{#expr:20*{{{7|7}}}/{{#var:max}}}}px">
   <table cellpadding="0" cellspacing="0" style="background-color: #0000ff; width: 4px; height: {{#expr:20*{{{7|1}}}/{{#var:max}}}}px">
     <tr><td> </td></tr>
     <tr><td> </td></tr>
   </table>
   </table>

Revision as of 15:55, 29 June 2009

max={{#lua: print(math.max(1,1,1,1,1,1,1)) |}}
  <table cellpadding="0" cellspacing="0" style="background-color: #ff0000; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">
  <table cellpadding="0" cellspacing="0" style="background-color: #aa0000; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">
  <table cellpadding="0" cellspacing="0" style="background-color: #888800; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">
  <table cellpadding="0" cellspacing="0" style="background-color: #00ff00; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">
  <table cellpadding="0" cellspacing="0" style="background-color: #008888; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">
  <table cellpadding="0" cellspacing="0" style="background-color: #0000aa; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">
  <table cellpadding="0" cellspacing="0" style="background-color: #0000ff; width: 4px; height: Expression error: Unrecognized punctuation character "{".px">

0 5 10 27 (days)