Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(simplify function)
(fix errors)
Line 1: Line 1:
 
{{#ifexist:{{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} ||{{#explode:{{{1}}}|:|0}}:}}{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|
 
{{#ifexist:{{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} ||{{#explode:{{{1}}}|:|0}}:}}{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|
 
   {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} |
 
   {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}} |
   [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
+
   [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
 
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|
 
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|
     [[:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
+
     [[:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]|
     [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]}}
+
     [[{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}]]}}
 
   }}|
 
   }}|
 
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|[[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]}}
 
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|[[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]}}
 
}}
 
}}

Revision as of 07:53, 7 September 2009

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