Difference between revisions of "Template:GetTitle"

From Synfig Studio :: Documentation
Jump to: navigation, search
(no debug)
(limit namespace for common case)
Line 5: Line 5:
 
       {{#dpl:namespace=Category|titlematch={{PagenameFromLink|{{#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}}}
         | {{#dpl:titlematch={{PagenameFromLink|{{#explode:{{{1}}}|:|-1}}}}|include={Title}.dpl|format=,}}
+
         | {{#dpl:namespace=|titlematch={{PagenameFromLink|{{#explode:{{{1}}}|:|-1}}}}|include={Title}.dpl|format=,}}
 
         | {{#dpl:namespace={{#explode:{{{1}}}|:|0}}|{{PagenameFromLink|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 13:09, 8 September 2009

{{{1}}}