Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(simplify)
(pass proper page title to GetTitle)
Line 1: Line 1:
 
{{#ifexist: {{#explode:{{#replace:{{{1}}}|:Category:|Category:}}|#|0}}/{{#titleparts:{{PAGENAME}}||-1}}|
 
{{#ifexist: {{#explode:{{#replace:{{{1}}}|:Category:|Category:}}|#|0}}/{{#titleparts:{{PAGENAME}}||-1}}|
 
   {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} |
 
   {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} |
   [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
+
   [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{#explode:{{#replace:{{{1}}}|:Category:|Category:}}|#|0}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
     [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
+
     [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{#explode:{{#replace:{{{1}}}|:Category:|Category:}}|#|0}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 
   }}|
 
   }}|
   [[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
+
   [[{{{1}}}|{{{2|{{GetTitle|{{#explode:{{#replace:{{{1}}}|:Category:|Category:}}|#|0}}}}}}}]]
 
}}
 
}}

Revision as of 11:43, 8 September 2009

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