Template:Index/name

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
  
 
{{#lua:
 
{{#lua:
   local common = {"methoxy", "hydroxy", "acid", "acetyl", "amino", "alpha", "acetyloxy", };
+
   local common = {"methoxy", "hydroxy", "acid", "acetyl", "alpha", "amino", "alpha", "acetyloxy", };
 
   local key = stdin:match("%w+");
 
   local key = stdin:match("%w+");
 
   local H = {};
 
   local H = {};
Line 29: Line 29:
 
   local ret = "";
 
   local ret = "";
 
   for k,v in pairs(H) do
 
   for k,v in pairs(H) do
    print(v .. "\n");
+
     ret = ret .. "* " .. k;
     ret = ret .. "*" .. k;
+
 
     for id in string.gmatch(v,"%w+") do
 
     for id in string.gmatch(v,"%w+") do
       ret = ret .. "[[" .. id .."]]   ";
+
       ret = ret .. "   [[" .. id .."]]   ";
 
     end
 
     end
 
     ret = ret .. "\n";
 
     ret = ret .. "\n";

Revision as of 19:57, 1 October 2008

名前のインデクス {{{1}}} 値(文字列) {{{2}}} ページタイトル (FL/LB/..) Last updated: 20081001195741

[[Index:{{{2}}}]]


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox