Template:BookTable

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{| class="wikitable"
 +
! {{#replace:{{{title| Titles && separated by && double ampersand. }}}|&|{{#bar:}}}}
 
{{#replace:
 
{{#replace:
 
{{#lua:
 
{{#lua:
  print('{& style="wikitable sortable"\n')
+
   for name, line in stdin:gmatch("&& *([^&]+) *(&&[^\n]+)") do
   for name, line in stdin:gmatch("&&([%a]+)([^&]+&&[^\n]+)") do
+
     print("&-\n")
     print("&-")
+
    genus = string.match(name, "[%a]+")
     print("[[Species:".. name .. "&" .. name .."]]" .. line)
+
     print("& [[Species:" .. genus .. "&" .. name .. "]]" .. line .."\n")
 
   end
 
   end
  print('&}')
+
| {{{data|&& Data body (first, species name) && separated by && double ampersand.}}}
|
+
&&Erigeron hello&&foo && foo 日本語 && arita
+
&&Veronica 1 2 && 3 日本語 && foo && foo
+
 
}} |&|{{#bar:}} }}
 
}} |&|{{#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