Template:Index/formula

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
{{#repeat:Index/persist|6|
 
{{#repeat:Index/persist|6|
 
   {{#lua:
 
   {{#lua:
  local id;
 
 
   local output = "";
 
   local output = "";
 
   for id in stdin:gmatch("&&(%w+)") do
 
   for id in stdin:gmatch("&&(%w+)") do
     output = output.."%formula%{{{1}}}%{{#expr:{{{2}}}-1}}%Index/formula%"..id.."%{{{3}}}";
+
     output = output.."formula%{{{1}}}%{{#expr:{{{2}}}-1}}%Index/formula%"..id.."%{{{3}}}%";
 
   end
 
   end
 
   print(output);|{{{3}}} }} |%}}
 
   print(output);|{{{3}}} }} |%}}
Line 19: Line 18:
 
   local output = "";
 
   local output = "";
 
   for id in stdin:gmatch("&&(%w+)") do
 
   for id in stdin:gmatch("&&(%w+)") do
     output = output.."%formula%{{{1}}}%{{#expr:{{{2}}}+1}}%Index/formula%"..id.."%{{{3}}}";
+
     output = output.."formula%{{{1}}}%{{#expr:{{{2}}}+1}}%Index/formula%"..id.."%{{{3}}}%";
 
   end
 
   end
 
   print(output);|{{{3}}} }} |%}}
 
   print(output);|{{{3}}} }} |%}}

Revision as of 11:25, 2 May 2008

名前のインデクス {{{1}}} 原子 {{{2}}} 数 {{{3}}} ページタイトルと名前のリスト(&&区切り){{{4}}} ダミー Last updated: 20080502112557

[[Index:{{{4}}}|Back to Index]]

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox