Template:BookTable

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
(New page: {| class="wikitable sortable" {{#lua: for line stdin:gmatch("[%S]+") do print(line) end | {{{1}}} }} |})
 
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
{| class="wikitable sortable"
+
{| class="wikitable"
 +
! {{#replace:{{{title| Titles && separated by && double ampersand. }}}|&|{{#bar:}}}}
 +
{{#replace:
 
{{#lua:
 
{{#lua:
   for line stdin:gmatch("[%S]+") do
+
   for name, line in stdin:gmatch("&& *([^&]+) *(&&[^\n]+)") do
     print(line)
+
     print("&-\n")
 +
    genus = string.match(name, "[%a]+")
 +
    print("& [[Species:" .. genus .. "&" .. name .. "]]" .. line .."\n")
 
   end
 
   end
| {{{1}}}
+
| {{{data|&& Data body (first, species name) && separated by && double ampersand.}}}
}}
+
}} |&|{{#bar:}} }}
 
|}
 
|}

Latest revision as of 23:06, 3 February 2010

Titles separated by double ampersand.
Data body (first, species name) separated by double ampersand.
Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox