Sandbox91

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
{{#def:page|Test}} <!-- Index:のページ名 -->
 
{{#def:page|Test}} <!-- Index:のページ名 -->
 
{{#def:alreadyset|{{#get:init}}}} <!-- 現在セットされている項目。&&区切りの文字列を渡す -->
 
{{#def:alreadyset|{{#get:init}}}} <!-- 現在セットされている項目。&&区切りの文字列を渡す -->
{{#get:init}}
+
{{#def:prevpage|{{#get:ref}}}} <!-- 飛んできたページ -->
{{#var:alreadyset}}
+
 
 
{{#lua:
 
{{#lua:
 
--%% 前処理 %%--
 
--%% 前処理 %%--
Line 43: Line 43:
  
 
--%% 表示処理 %%--
 
--%% 表示処理 %%--
 +
print('{{#form' .. 'tag:form|action="/wiki/{{#get:prevpage}}" method="post"|')
 +
print('{{#form' .. 'tag:input|type="submit" value="update"}}<br>')
  
 
--%% できればここに目次を作成したい %%--
 
--%% できればここに目次を作成したい %%--
Line 70: Line 72:
 
   print("</span>")
 
   print("</span>")
 
end
 
end
 +
print('{{#form' .. 'tag:input|type="hidden" name="insert" value="__HOOK_AND_INSERT__"}}')
 +
print('{{#form' .. 'tag:input|type="submit" value="update"}}')
 +
print('}}')
  
 
|{{#searchline:-|Index|{{#var:page}} }} }}
 
|{{#searchline:-|Index|{{#var:page}} }} }}

Revision as of 21:22, 22 January 2009



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox