Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(revert today's editions)
Line 1: Line 1:
{{#ifexist: {{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|[[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]|[[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]}}
+
{{#ifexist: {{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|
 +
  {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} |
 +
  [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]|
 +
    [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 +
  }}|
 +
  [[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
 +
}}
 
<noinclude>
 
<noinclude>
 
Link wrapper with localization support.
 
Link wrapper with localization support.
 
</noinclude>
 
</noinclude>

Revision as of 18:27, 11 January 2010

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

Link wrapper with localization support.