Template:Index/name

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
 
(16 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<noinclude>名前のインデクス {{{1}}} 値(文字列) {{{2}}} ページタイトル (FL/LB/..)</noinclude>
 
<noinclude>名前のインデクス {{{1}}} 値(文字列) {{{2}}} ページタイトル (FL/LB/..)</noinclude>
Last updated: {{REVISIONTIMESTAMP}}
+
{{Warning/Persist}}
  
 +
<small>Note: words of less than 4 letters are excluded from the index.</small>
 
{| width=100%
 
{| width=100%
 
|-
 
|-
|align=left| {{#persist:FLindex (name)|Name|Index/name|2|{{{1}}};FL}}
+
|align=left| {{#persist:{{{2}}}index/name {{PrevLetter|{{{1}}}}}|go to Index {{PrevLetter|{{{1}}}}}|Index/name|2|{{PrevLetter|{{{1}}}}};{{{2}}}}}
|align=center| [[Index:{{{2}}}]]
+
|align=center| [[Index:{{{2}}}|<big>Back to Index</big>]]
|align=right| {{#persist:FLindex (name)|Name|Index/name|2|{{{1}}};FL}}
+
|align=right| {{#persist:{{{2}}}index/name {{PrevLetter|{{{1}}}}}|go to Index {{NextLetter|{{{1}}}}}|Index/name|2|{{NextLetter|{{{1}}}}};{{{2}}}}}
 
|}
 
|}
 
+
<hr>
 
{{#lua:
 
{{#lua:
  local common = {"methoxy", "hydroxy", "acid", "acetyl", "alpha", "aalpha", "amino", "alpha", "acetyloxy" };
 
 
   local key = stdin:match("%w+");
 
   local key = stdin:match("%w+");
 
   local H = {};
 
   local H = {};
Line 29: Line 29:
 
   table.sort(I);
 
   table.sort(I);
 
   local ret = "";
 
   local ret = "";
   for i=1,#I do
+
   for i=1,table.getn(I) do
 
     local k = I[i];
 
     local k = I[i];
     ret = ret .. "* " .. k;
+
     ret = ret .. "* '''" .. k;
 
     for id in string.gmatch(H[k],"%w+") do
 
     for id in string.gmatch(H[k],"%w+") do
       ret = ret .. "&nbsp;&nbsp; [[" .. id .."]] &nbsp; ";
+
       ret = ret .. "'''&nbsp;&nbsp; [[" .. id .."]] &nbsp; ";
 
     end
 
     end
 
     ret = ret .. "\n";
 
     ret = ret .. "\n";
Line 41: Line 41:
 
{{{1}}} {{#SearchLine:Common Name=||{{{2}}}%}}
 
{{{1}}} {{#SearchLine:Common Name=||{{{2}}}%}}
 
}}
 
}}
 +
[[#top]]

Latest revision as of 02:59, 25 March 2009

名前のインデクス {{{1}}} 値(文字列) {{{2}}} ページタイトル (FL/LB/..) Do not edit! This page is automatically generated using Persist function (Last updated: 20090325025941).

Note: words of less than 4 letters are excluded from the index.

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



#top

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox