Template:Pathway/GetPathwayList

From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
{| class="collapsible collapsed" width="80%" border="1" cellpadding="2" cellspacing="1" style=" margin: 1em 1em 1em 1em"
+
{| class="collapsible collapsed" style="margin: 1em 1em 1em 1em"
! style="background-color: Lavender" | <small>Pathways</small>
+
! style="background-color: Lavender" | <small>Other Pathways</small>
{{Pathway/PathwayListRow|1|
+
{{#repeat:Pathway/PathwayListRow|1|
{{#lua: ---ページ名の重複を除く---
+
{{#SearchLine:{{{1}}}_|Pathway}}}}
  local seen = {};
+
  for str in stdin:gmatch("([^\n]+)") do
+
    str = findpattern(str,'&& ?(%w+)&&');
+
    if not seen[str] then print(str); seen[str] = true; end
+
    end
+
|{{#SearchLine:{{{1}}}$|Pathway}}}}
+
}}
+
 
|}
 
|}

Latest revision as of 23:41, 22 March 2009

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox