Template:Pathway/GetPathwayList

From Metabolomics.JP
< Template:Pathway(Difference between revisions)
Jump to: navigation, search
m
 
(7 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/PathwayTableRow|1|
+
{{#repeat:Pathway/PathwayListRow|1|
 
+
{{#SearchLine:{{{1}}}_|Pathway}}}}
{{#lua: ---ページ名の重複を除く---
+
  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
+
|{{#replace:{{#SearchLine:{{{1}}}$|Pathway}}|. ?source ?=|&&}}}}
+
}}
+
 
+
}}
+
 
|}
 
|}

Latest revision as of 23:41, 22 March 2009

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox