Difference between revisions of "Template:Category"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Fix bug with spaces in category names)
(Fix template to provide link to corresponding category page whether it exist or not)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifexist:Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}|[[Category:{{{1}}}]]|[[Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}]]}}
  [[Category:{{#replace:{{{1}}}| |_}}/{{#titleparts:{{PAGENAME}}||-1}}]]
+
  |
+
  [[Category:{{#replace:{{{1}}}| |_}}]]
+
}}
+

Latest revision as of 17:22, 7 June 2010

[[Category:{{{1}}}]]