Difference between revisions of "Template:L"

From Synfig Studio :: Documentation
Jump to: navigation, search
(put replace inside (no <nowiki>[[</nowiki> allowed))
(trying complex trick with '=' sign)
Line 1: Line 1:
{{#ifexist:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|
+
[[{{#sub:{{#replace:{{{1}}}|:Category:|Category:}}
   [[{{PagenameFromLink|{{#replace:{{{1}}}|:Category:|Category:}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
+
{{#ifexist:{{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|
 +
   ={{PagenameFromLink|{{{1}}}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{{2|{{GetTitle|{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
 
   |
 
   |
   [[{{#replace:{{{1}}}|:Category:|Category:}}|{{{2|{{GetTitle|{{{1}}}}}}}}]]
+
   [[{{{1}}}|{{{2|{{GetTitle|{{{1}}}}}}}}
 
  }}
 
  }}
 +
|=Category:|=:Category:}}|1|0}}]]

Revision as of 06:20, 13 January 2010

[[{{#sub:{{{1}}}

{{#ifexist:{{{1}}}/L|
 ={{{1}}}/L|{{{1}}}/L]]
 |
 [[{{{1}}}|{{{1}}}
}}

|=Category:|=:Category:}}|1|0}}]]