Template:Hierarchy

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
  
 
{{#if: {{{1|}}}|
 
{{#if: {{{1|}}}|
<!--- {{#ifexist: Category:{{#substring: {{{1|}}} | 0 |11}} | [[Category:{{#substring: {{{1}}} | 0 |11}}]] | --->
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 |{{#expr:{{#length:{{{1}}}}} -1}}
{{Hierarchy/CategoryLink|{{{1}}}|2}} |
+
}} | [[Category:{{#substring: {{{1}}} | 0 |{{#expr:{{#length:{{{1}}}}} -1}}
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 |10}} | [[Category:{{#substring: {{{1}}} | 0 |10}}]] |
+
}}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 9}} | [[Category:{{#substring: {{{1}}} | 0 | 9}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 |{{#expr:{{#length:{{{1}}}}} -2}}
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 8}} | [[Category:{{#substring: {{{1}}} | 0 | 8}}]] |
+
}} | [[Category:{{#substring: {{{1}}} | 0 |{{#expr:{{#length:{{{1}}}}} -2}}
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 7}} | [[Category:{{#substring: {{{1}}} | 0 | 7}}]] |
+
}}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 6}} | [[Category:{{#substring: {{{1}}} | 0 | 6}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | |{{#expr:{{#length:{{{1}}}}} -3}} }} | [[Category:{{#substring: {{{1}}} | 0 | |{{#expr:{{#length:{{{1}}}}} -3}} }}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 5}} | [[Category:{{#substring: {{{1}}} | 0 | 5}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -4}} }} | [[Category:{{#substring: {{{1}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -4}} }}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 4}} | [[Category:{{#substring: {{{1}}} | 0 | 4}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -5}} }} | [[Category:{{#substring: {{{1}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -5}} }}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 3}} | [[Category:{{#substring: {{{1}}} | 0 | 3}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -6}} }} | [[Category:{{#substring: {{{1}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -6}} }}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 2}} | [[Category:{{#substring: {{{1}}} | 0 | 2}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -7}} }} | [[Category:{{#substring: {{{1}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -7}} }}]] |
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 | 1}} | [[Category:{{#substring: {{{1}}} | 0 | 1}}]] |
+
{{#ifexist: Category:{{#substring: {{{1|}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -8}} }} | [[Category:{{#substring: {{{1}}} | 0 ||{{#expr:{{#length:{{{1}}}}} -8}} }}]] |
}} }} }} }} }} }} }} }} }} }} }} }}
+
}} }} }} }} }} }} }} }} }}

Revision as of 08:45, 2 March 2008

ページ名が12文字であることを前提に1文字ずつ短い名前へリンクを作成します。さらに一つ上の階層にのみカテゴリーリンクを張ります。



Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox