Template:PlantBiotech/Media/Familywise
From Metabolomics.JP
< Template:PlantBiotech/Media(Difference between revisions)
(Created page with "{| class="wikitable sortable" ! 科名 || 利用培地 {{#lua: F = {} for l,v in stdin:gmatch("&&([a-zA-Z0-9/%(%)_]+).[^=]+=%s*([^=]+)\n") do for g,f in string.gmatch(v,"...") |
|||
Line 1: | Line 1: | ||
+ | ===科名一覧=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! 科名 || 利用培地 | ! 科名 || 利用培地 | ||
Line 12: | Line 13: | ||
for l,v in pairs(F) do | for l,v in pairs(F) do | ||
print("{{#bar:}}-\n! [[:Category:" .. l .. "{{#bar:}}" .. l .. "]] \n{{#bar:}}") | print("{{#bar:}}-\n! [[:Category:" .. l .. "{{#bar:}}" .. l .. "]] \n{{#bar:}}") | ||
+ | for i,j in pairs(v) do | ||
+ | print("[[PlantBiotech:" .. i .. "{{#bar:}}" .. i .. "]] ") | ||
+ | end | ||
+ | print("<br/>") | ||
+ | end | ||
+ | | | ||
+ | {{#SearchLine:plantE|PlantBiotech}} | ||
+ | }} | ||
+ | |} | ||
+ | |||
+ | ===属名一覧=== | ||
+ | {| class="wikitable sortable" | ||
+ | !属名 || 利用培地 | ||
+ | {{#lua: | ||
+ | F = {} | ||
+ | for l,v in stdin:gmatch("&&([a-zA-Z0-9/%(%)_]+).[^=]+=%s*([^=]+)\n") do | ||
+ | for g,f in string.gmatch(v,"([a-zA-Z]+) [a-zA-Z %.]+ %[([a-zA-Z]+)%]") do | ||
+ | if (F[g] == null) then F[g] = {} end | ||
+ | if ((F[g])[l] == null) then (F[g])[l] = l end | ||
+ | end | ||
+ | end | ||
+ | ---FOR EACH GENUS--- | ||
+ | for l,v in pairs(F) do | ||
+ | print("{{#bar:}}-\n! [[Species:" .. l .. "{{#bar:}}" .. l .. "]]\n{{#bar:}}") | ||
for i,j in pairs(v) do | for i,j in pairs(v) do | ||
print("[[PlantBiotech:" .. i .. "{{#bar:}}" .. i .. "]] ") | print("[[PlantBiotech:" .. i .. "{{#bar:}}" .. i .. "]] ") |