Reference:Country

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
(Replacing page with '{{#def:countryNames|{{#SearchTitle:Country/%|Reference}}}} This page lists the country of the authors. <div style="column-count:3; -moz-column-count:3;"> {{#repeat:List_Count...')
Line 2: Line 2:
  
 
This page lists the country of the authors.
 
This page lists the country of the authors.
 +
 +
{{#lua:
 +
  local list = {};
 +
  local hash = {};
 +
  for word in stdin:gmatch("%S+") do
 +
    num, name = string.match(word,[0-9]+:[%a_]+);
 +
    table.insert(list, num);
 +
    if (hash[num] == null) then
 +
      hash[num] = name;
 +
    else
 +
      hash[num] = hash[num] .. "," .. name;
 +
    end
 +
  end
 +
  for(int i =0; i < 10; i++) do
 +
   
 +
  end
 +
|{{#repeat:List_Country/CountAuthor|1|{{#var:countryNames}}}}
 +
}}
 +
  
 
<div style="column-count:3; -moz-column-count:3;">
 
<div style="column-count:3; -moz-column-count:3;">
 
{{#repeat:List_Country|1|{{#var:countryNames}}}}
 
{{#repeat:List_Country|1|{{#var:countryNames}}}}
 
</div>
 
</div>

Revision as of 01:12, 10 September 2008


This page lists the country of the authors.

./lua: /tmp/mw_ex_lua_Lag2o9:4: unexpected symbol near '['


Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox