Template:PlantBiotech/Media/Comparison
From Metabolomics.JP
< Template:PlantBiotech/Media(Difference between revisions)
(Created page with "{{#def:arg1|Media/MS (1962)}} {{#def:arg2|Media/LS (1965)}} {{#lua: for l,v in stdin:gmatch("&&[a-zA-Z0-9/%(%)_]+.([^=]+)=%s*([^=]+)\n") do print(l, v) print("<br/>") end...") |
m |
||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{#def:arg1|Media/MS (1962)}} | {{#def:arg1|Media/MS (1962)}} | ||
{{#def:arg2|Media/LS (1965)}} | {{#def:arg2|Media/LS (1965)}} | ||
+ | |||
+ | |||
+ | {| class="wikitable" | ||
+ | ! 要素 {{#if:arg1|{{#bar:}}{{#bar:}} arg1}} {{#if:arg2|{{#bar:}}{{#bar:}} arg2}} | ||
{{#lua: | {{#lua: | ||
+ | i = 0 | ||
+ | L = {} T = {} | ||
for l,v in stdin:gmatch("&&[a-zA-Z0-9/%(%)_]+.([^=]+)=%s*([^=]+)\n") do | for l,v in stdin:gmatch("&&[a-zA-Z0-9/%(%)_]+.([^=]+)=%s*([^=]+)\n") do | ||
− | + | if (l == "培地名") then | |
+ | i = i+1 | ||
+ | end | ||
+ | if (string.byte(l,1) > 127) then | ||
+ | if (L[l] == null) then L[l] = {} table.insert(T,l) end | ||
+ | (L[l])[i] = v | ||
+ | end | ||
+ | end | ||
+ | for l,v in ipairs(T) do | ||
+ | print("{{#bar:}}-\n{{#bar:}} "..v) | ||
+ | for j=1,i do | ||
+ | if ((L[v])[j] == null) then print("{{#bar:}} -") else print("{{#bar:}}" ..(L[v])[j]) end | ||
+ | end | ||
end | end | ||
| | | | ||
Line 9: | Line 27: | ||
{{#SearchLine:=|PlantBiotech|{{#var:arg2}} }} | {{#SearchLine:=|PlantBiotech|{{#var:arg2}} }} | ||
}} | }} | ||
+ | |} |
Latest revision as of 20:35, 3 September 2011
要素 | arg1 | arg2 |
---|---|---|
培地名 | Murashige&Skoog | Linsmaier & Skoog |
略称 | MS | LS |
年度 | 1962 | 1965 |
硫酸マグネシウム七水和物 | 370 | 370 |
塩化カルシウム二水和物 | 440 | 440 |
硝酸カリウム | 1900 | 1900 |
硝酸アンモニウム | 1650 | 1650 |
リン酸二水素カリウム | 170 | 170 |
エチレンジアミン四酢酸二ナトリウム | 37.3 | 37.3 |
硫酸銅五水和物 | 0.025 | 0.025 |
硫酸鉄(II)七水和物 | 27.8 | 27.8 |
硫酸マンガン四水和物 | 22.3 | 22.3 |
硫酸亜鉛七水和物 | 8.6 | 8.6 |
塩化コバルト六水和物 | 0.025 | 0.025 |
ヨウ化カリウム | 0.83 | 0.83 |
モリブデン酸ナトリウム二水和物 | 0.25 | 0.25 |
ホウ酸 | 6.2 | 6.2 |
ニコチン酸 | 0.5 | - |
塩酸ピリドキシン | 0.5 | - |
塩酸チアミン | 0.1-1 | 0.1-1 |
グリシン | 2 | - |
ミオイノシトール | 100 | 100 |
ショ糖 | 30000 | 30000 |
寒天 | 10000 | 10000 |