Volatile:ListField

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
<!----List fields of name "<nowiki>{{{1}}}</nowiki>" in namespace "<nowiki>{{{2}}}</nowiki>"---->
 
<!----List fields of name "<nowiki>{{{1}}}</nowiki>" in namespace "<nowiki>{{{2}}}</nowiki>"---->
{{#formtag:form|action="/wiki/Volatile:ListField"| Showing groups of size >
+
<!---{{#formtag:form|action="/wiki/Volatile:ListField"| Showing groups of size >
 
{{#formtag:select|name="ARG1"|
 
{{#formtag:select|name="ARG1"|
 
{{#formtag:option|value="0" {{#ifeq:{{{3}}}||selected="yes"}}|0}}
 
{{#formtag:option|value="0" {{#ifeq:{{{3}}}||selected="yes"}}|0}}
Line 6: Line 6:
 
{{#formtag:option|value="2" {{#ifeq:{{{3}}}|2|selected="yes"}}|2}}
 
{{#formtag:option|value="2" {{#ifeq:{{{3}}}|2|selected="yes"}}|2}}
 
{{#formtag:option|value="3" {{#ifeq:{{{3}}}|3|selected="yes"}}|3}}
 
{{#formtag:option|value="3" {{#ifeq:{{{3}}}|3|selected="yes"}}|3}}
{{#formtag:input|type="submit"}} }} }}
+
{{#formtag:input|type="submit"}} }} }}--->
  
 
{{#lua:
 
{{#lua:
Line 26: Line 26:
 
   table.sort(id)
 
   table.sort(id)
 
   local coff = tonumber("{{{3|0}}}")
 
   local coff = tonumber("{{{3|0}}}")
   if (coff == nil) then coff =0 else print("Printing lists more than size=" .. coff) end
+
   if (coff == nil) then coff =0 else print("Printing groups more than size=" .. coff) end
 
   for _,v in ipairs(id) do
 
   for _,v in ipairs(id) do
 
     if (table.getn(list[v]) > coff) then
 
     if (table.getn(list[v]) > coff) then

Revision as of 20:02, 8 September 2011


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox