Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(also for :Category: case)
(support for "hash" sign in links)
Line 1: Line 1:
 
{{#ifexist:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|
 
{{#ifexist:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|
   {{#ifeq:{{#pos:{{PagenameFromLink|{{{1}}}}}|Category:}}|0|
+
   {{#ifeq:{{#explode:{{{1}}}|#|1}}||
      [[:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
+
      {{#ifeq:{{#pos:{{PagenameFromLink|{{{1}}}}}|Category:}}|0|
 +
        [[:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 +
        |
 +
        [[{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 +
      }}
 
       |
 
       |
       [[{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
+
       {{#ifeq:{{#pos:{{PagenameFromLink|{{{1}}}}}|Category:}}|0|
 +
        [[:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}#{{#explode:{{{1}}}|#|1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 +
        |
 +
        [[{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}#{{#explode:{{{1}}}|#|1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 +
      }}
 
   }}
 
   }}
 
   |
 
   |
   {{#ifeq:{{#pos:{{PagenameFromLink|{{{1}}}}}|Category:}}|0|
+
   {{#ifeq:{{#explode:{{{1}}}|#|1}}||
      [[:{{PagenameFromLink|{{{1}}}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
+
      {{#ifeq:{{#pos:{{PagenameFromLink|{{{1}}}}}|Category:}}|0|
 +
        [[:{{PagenameFromLink|{{{1}}}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
        |
 +
        [[{{PagenameFromLink|{{{1}}}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
      }}
 
       |
 
       |
       [[{{PagenameFromLink|{{{1}}}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
+
       {{#ifeq:{{#pos:{{PagenameFromLink|{{{1}}}}}|Category:}}|0|
 +
        [[:{{PagenameFromLink|{{{1}}}}}#{{#explode:{{{1}}}|#|1}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
        |
 +
        [[{{PagenameFromLink|{{{1}}}}}#{{#explode:{{{1}}}|#|1}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
      }}
 
   }}
 
   }}
 
}}
 
}}

Revision as of 16:21, 13 January 2010

[[{{{1}}}|{{{1}}}]]