Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(revert changes)
(treat Category:BlaBlaBla links especially)
Line 1: Line 1:
{{#ifexist:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|[[{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]|[[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]}}
+
{{#ifexist:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|
 +
  {{#ifeq:{{#pos:{{{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}}}}}}}]]
 +
  }}
 +
  |
 +
  {{#ifeq:{{#pos:{{{1}}}|Category:}}|0|
 +
      [[:{{PagenameFromLink|{{{1}}}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
      |
 +
      [[{{PagenameFromLink|{{{1}}}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
  }}
 +
}}

Revision as of 15:51, 13 January 2010

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