Difference between revisions of "Template:GetTitle"

From Synfig Studio :: Documentation
Jump to: navigation, search
(debug)
(use PagenameFromLink)
Line 3: Line 3:
 
     |
 
     |
 
     {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|
 
     {{#ifeq: {{#sub:{{{1}}}|0|10}}|:Category:|
       {{#dpl:namespace=Category|titlematch={{#explode:{{{1}}}|:|-1}}|include={Title}.dpl|format=,}}
+
       {{#dpl:namespace=Category|titlematch={{PagenameFromLink|{{#explode:{{{1}}}|:|-1}}}}|include={Title}.dpl|format=,}}
 
       | {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
 
       | {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
         | {{{1}}}-{{#dpl:titlematch={{#explode:{{{1}}}|:|-1}}|include={Title}.dpl|format=,}}
+
         | {{{1}}}-{{#dpl:titlematch={{PagenameFromLink|{{#explode:{{{1}}}|:|-1}}}}|include={Title}.dpl|format=,}}
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|titlematch={{#explode:{{{1}}}|:|-1}}|include={Title}.dpl|format=,}}
+
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|{{PagenameFromLink|titlematch={{#explode:{{{1}}}|:|-1}}}}|include={Title}.dpl|format=,}}
 
         }}
 
         }}
 
     }}
 
     }}

Revision as of 12:52, 8 September 2009

{{{1}}}