Vorlage:Tabelle-Jodmessung
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
+ | {{#vardifine:jg|{{#replace:{{{3|}}}|,|.}}}} | ||
{|border=0 cellspacing="0" cellpadding="0" style="height:1em; margin:0 0 0 0;" | {|border=0 cellspacing="0" cellpadding="0" style="height:1em; margin:0 0 0 0;" | ||
|width="300pt" |[[{{{1|}}}]] | |width="300pt" |[[{{{1|}}}]] | ||
− | |width="200pt" |{{#switch:{{{userparam|}}} | + | |width="200pt" |{{#ifeq:{{#sub:{{#var:jg}}|1|1}}|.|{{#switch:{{{userparam|}}} |
− | |mg/kg={{ | + | |mg/kg={{#var:jg}} {{{userparam|}}} |
− | |µg/100g={{{ | + | |µg/100g={{#expr:{{#var:jg}}*100}} {{{userparam|}}} |
− | |µg/kg={{{ | + | |µg/kg={{#expr:{{#var:jg}}*1000}} {{{userparam|}}}}}|{{{userparam|}}}}} |
|} | |} | ||
+ | <!-- [[Jodgehalt::{{{Jodgehalt|}}}]] {{#vardefine:jg|{{#replace:{{{Jodgehalt|}}}|,|.}}}}{{#ifeq:{{#sub:{{#var:jg}}|1|1}}|.|mg/kg - {{#expr:{{#var:jg}}*100}} µg/100g - {{#expr:{{#var:jg}}*1000}} µg/kg|}}--> |
Version vom 19. April 2014, 15:42 Uhr
{{#vardifine:jg|}}
[[]] |