Template:Kampo/Reference

From Metabolomics.JP
< Template:Kampo(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#def:list|{{#SearchLine:^&&{{PAGENAME}}|KampoReference}}}}
+
{{#def:list|{{#SearchLine:^&&{{{1|{{PAGENAME}}}}}|KampoReference}}}}
 +
=={{Bilingual|関連キーワード|Related keywords}}==
 +
{{#lua:
 +
  local bucket = {}
 +
  local t = {}
 +
  for word in stdin:gmatch("([%S]+)") do
 +
    if (string.len(word) > 6 and string.find(word,"漢方") == nil) then
 +
      if (bucket[word] ~= nil) then
 +
        bucket[word] = bucket[word] + 1
 +
      else
 +
        bucket[word] = 1
 +
      end
 +
    end
 +
  end
 +
  for key,value in pairs(bucket) do
 +
    if (value < 3) then bucket[key] = nil end
 +
  end
 +
  for key,value in pairs(bucket) do
 +
    print(key)
 +
  end
 +
|
 +
{{#replace:
 +
  {{#repeat:Kampo/Reference/GetTitle|1|
 +
    {{#var:list}}
 +
  }}|[a-zA-Z0-9ぁ-ん,()『』【】\n%-']+|&#160;}}
 +
}}
 +
 
 
=={{Bilingual|文献情報|References}}==
 
=={{Bilingual|文献情報|References}}==
 
'''Total {{#count:{{#var:list}}}} articles found.'''
 
'''Total {{#count:{{#var:list}}}} articles found.'''
 
{{#Repeat:Kampo/Reference/Item|1|{{#var:list}}}}
 
{{#Repeat:Kampo/Reference/Item|1|{{#var:list}}}}

Latest revision as of 15:24, 31 August 2010

[edit] Related keywords

[edit] References

Total 0 articles found.

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox