Sandbox91

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
-->
 
-->
 
{{#if:{{#get:listpage}}|{{#def:listpage|{{#get:listpage}} }}|{{#def:listpage|Test}} }} <!-- リストページ def. Test -->
 
{{#if:{{#get:listpage}}|{{#def:listpage|{{#get:listpage}} }}|{{#def:listpage|Test}} }} <!-- リストページ def. Test -->
aa{{#get:initset}}aa
+
 
 
{{#lua:
 
{{#lua:
 
--%% 前処理 %%--
 
--%% 前処理 %%--
Line 60: Line 60:
  
 
   --%% あらかじめセットしてあるデータの場合は、チェックを付けておく - データは&&区切りで渡す %%--
 
   --%% あらかじめセットしてあるデータの場合は、チェックを付けておく - データは&&区切りで渡す %%--
   if(string.match("{{#get:initset}}", "&&" .. list[i] .. "&&", 0)) then
+
   if(string.match("{{#get:initset}}", "&amp;&amp;" .. list[i] .. "&amp;&amp;", 0)) then
 
     checked = ' checked="yes"'
 
     checked = ' checked="yes"'
 
   else
 
   else

Revision as of 22:02, 22 January 2009



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox