Category:PlantSpecies/orderList

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
(New page: {{#lua: local H={}; local I={}; for name in stdin:gmatch("order=([%S]+)") do if (H[name] == nil) then H[name] = name; table.insert(I, name); end end table.sort(I); for i=1,ta...)
 
Line 1: Line 1:
 
{{#lua:
 
{{#lua:
 
   local H={}; local I={};
 
   local H={}; local I={};
   for name in stdin:gmatch("order=([%S]+)") do
+
   for sp, name in stdin:gmatch("&&([%w]+).order=([%S]+)") do
     if (H[name] == nil) then H[name] = name; table.insert(I, name); end
+
     if (H[name] == nil) then H[name] = sp; table.insert(I, name); end
 
   end
 
   end
 
   table.sort(I);
 
   table.sort(I);
 
   for i=1,table.getn(I) do
 
   for i=1,table.getn(I) do
     print(I[i] .. "\n");
+
     print('# ' .. I[i] .. ' [[Species:' .. H[I[i]] .. ']] {{#SearchLine:order=|Species|' .. H[I[i]] .. '}}');
 
   end
 
   end
 
| {{#SearchLine:order=|Species}}
 
| {{#SearchLine:order=|Species}}
 
}}
 
}}

Revision as of 13:58, 7 April 2009

This category currently contains no pages or media.

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox