Template:Index/formula
From Metabolomics.JP
(Difference between revisions)
Line 1: | Line 1: | ||
− | <noinclude>名前のインデクス {{{1}}} 原子 {{{2}}} 数 {{{3}}} | + | <noinclude>名前のインデクス {{{1}}} 原子 {{{2}}} 数 {{{3}}} ページタイトル {{{4}}} タイトル候補リスト(&&区切り)</noinclude> |
Last updated: {{REVISIONTIMESTAMP}} | Last updated: {{REVISIONTIMESTAMP}} | ||
{| width=100% | {| width=100% | ||
|- | |- | ||
|align=left| | |align=left| | ||
− | {{#repeat:Index/persist|6| | + | {{#repeat:Index/persist|6|{{#cdr: |
{{#lua: | {{#lua: | ||
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.."%{{{4}}} | + | output = output.."%formula%{{{1}}}%{{#expr:{{{2}}}-1}}%Index/formula%"..id.."%{{{4}}}"; |
end | end | ||
− | print(output); |{{{4}}} }} |%}} | + | print(output); |{{{4}}} }} |%}}|%}} |
|align=center| [[Index:{{{3}}}|Back to Index]] | |align=center| [[Index:{{{3}}}|Back to Index]] | ||
|align=right| | |align=right| | ||
− | {{#repeat:Index/persist| | + | {{#repeat:Index/persist|6|{{#cdr: |
{{#lua: | {{#lua: | ||
local id; | 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.."%{{{4}}} | + | output = output.."%formula%{{{1}}}%{{#expr:{{{2}}}+1}}%Index/formula%"..id.."%{{{4}}}"; |
end | end | ||
− | print(output);|{{{4}}} }} |%}} | + | print(output);|{{{4}}} }} |%}}|%}} |
|} | |} | ||
Revision as of 11:35, 2 May 2008
名前のインデクス {{{1}}} 原子 {{{2}}} 数 {{{3}}} ページタイトル {{{4}}} タイトル候補リスト(&&区切り) Last updated: 20080502113504
[[Index:{{{3}}}|Back to Index]] |