Template:Index/name

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
(New page: <noinclude>名前のインデクス {{{1}}} 最小値(デフォルトaa) {{{2}}} 最大値(デフォルトab) {{{3}}} ページタイトル {{{4}}}ダミー</noinclude> Last update...)
 
Line 4: Line 4:
 
|-
 
|-
 
|align=left| {{Index/persist|name|{{#lua:
 
|align=left| {{Index/persist|name|{{#lua:
   local id = {{{1|aa}};
+
   local id = {{{1|aa}}};
 
   if (id == "aa") then print("aa");
 
   if (id == "aa") then print("aa");
 
   else if (string.byte(id,2) == 'a') then
 
   else if (string.byte(id,2) == 'a') then
Line 11: Line 11:
 
   end
 
   end
 
|}}|{{#lua:
 
|}}|{{#lua:
   local id = {{{2|ab}};
+
   local id = {{{2|ab}}};
 
   if (id == "aa") then print("aa");
 
   if (id == "aa") then print("aa");
 
   else if (string.byte(id,2) == 'a') then
 
   else if (string.byte(id,2) == 'a') then
Line 20: Line 20:
 
|align=center| [[Index:{{{3}}}
 
|align=center| [[Index:{{{3}}}
 
|align=right| {{Index/persist|name|{{#lua:
 
|align=right| {{Index/persist|name|{{#lua:
   local id = {{{1|aa}};
+
   local id = {{{1|aa}}};
 
   if (id == "zz") then print("zz");
 
   if (id == "zz") then print("zz");
 
   else if (string.byte(id,2) == 'z') then
 
   else if (string.byte(id,2) == 'z') then
Line 27: Line 27:
 
   end
 
   end
 
|}}|{{#lua:
 
|}}|{{#lua:
   local id = {{{2|ab}};
+
   local id = {{{2|ab}}};
 
   if (id == "aa") then print("zz");
 
   if (id == "aa") then print("zz");
 
   else if (string.byte(id,2) == 'z') then
 
   else if (string.byte(id,2) == 'z') then

Revision as of 14:47, 1 October 2008

名前のインデクス {{{1}}} 最小値(デフォルトaa) {{{2}}} 最大値(デフォルトab) {{{3}}} ページタイトル {{{4}}}ダミー Last updated: 20081001144753

[[Index:{{{3}}}
./lua: /tmp/mw_ex_lua_sgxx0U:4: unfinished string near ]*([%a]+)[^&]*") do'

}}

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox