Difference between revisions of "Template:L"

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

Revision as of 11:36, 8 September 2009

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