Difference between revisions of "Template:GetTitle"

From Synfig Studio :: Documentation
Jump to: navigation, search
(fix error)
Line 1: Line 1:
{{{1}}} --
 
 
{{#switch: {{#explode:{{{1}}}|:|0}} |Media|Special|Image={{{1}}}|
 
{{#switch: {{#explode:{{{1}}}|:|0}} |Media|Special|Image={{{1}}}|
 
   {{#ifexist:{{{1}}}
 
   {{#ifexist:{{{1}}}
Line 7: Line 6:
 
       | {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
 
       | {{#ifeq: {{#explode:{{{1}}}|:|-1}} | {{{1}}}
 
         | {{#dpl:namespace=|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}}|titlematch={{PagenameFromLink|{{#explode:{{{1}}}|:|-1}}}}|include={Title}.dpl|format=,}}
 
         }}
 
         }}
 
     }}
 
     }}

Revision as of 13:35, 8 September 2009

{{{1}}}