Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(localize link titles using dpl)
(use GetTitle template)
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}}} |
   [[{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{#dpl:titlematch={{{1}}}|include={Title}.dpl}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
+
   [[{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
 
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|
 
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|
     [[:Category:{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{#dpl:titlematch={{{1}}}|include={Title}.dpl}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
+
     [[:Category:{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]|
     [[{{#explode:{{{1}}}|:|0}}:{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{#dpl:titlematch={{{1}}}|include={Title}.dpl}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]}}
+
     [[{{#explode:{{{1}}}|:|0}}:{{#explode:{{{1}}}|:|-1}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}}}}}}/{{#titleparts:{{PAGENAME}}||-1}}]]}}
 
   }}|
 
   }}|
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|[[{{{1}}}|{{{2|{{#dpl:titlematch={{{1}}}|include={Title}.dpl}}}}}]]}}
+
   {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|[[:{{{1}}}|{{{2|{{{1}}}}}}]]|[[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]}}
 
}}
 
}}

Revision as of 07:41, 7 September 2009

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