Difference between revisions of "Template:Category"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Hmmm... probably that wasn't a bug...)
(Fix template to provide link to corresponding category page whether it exist or not)
 
Line 1: Line 1:
{{#ifexist:Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|
+
{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}|[[Category:{{{1}}}]]|[[Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}]]}}
  [[Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}]]
+
  |
+
  [[Category:{{{1}}}]]
+
}}
+

Latest revision as of 17:22, 7 June 2010

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