Template:Index/formula

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
   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.."%{{{4}}}%";
 
   end
 
   end
   print(output);|{{{3}}} }} |%}}
+
   print(output); |{{{4}}} }} |%}}
|align=center| [[Index:{{{4}}}|Back to Index]]
+
|align=center| [[Index:{{{3}}}|Back to Index]]
 
|align=right|
 
|align=right|
 
{{#repeat:Index/persist|5|
 
{{#repeat:Index/persist|5|
Line 18: 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.."%{{{4}}}%";
 
   end
 
   end
   print(output);|{{{3}}} }} |%}}
+
   print(output);|{{{4}}} }} |%}}
 
|}
 
|}
  

Revision as of 11:28, 2 May 2008

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

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

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox