Difference between revisions of "Template:Category"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Protected "Template:Category": Important for site functionality. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Fix template to provide link to corresponding category page whether it exist or not)
 
(2 intermediate revisions 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:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}|{{GetTitle|Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}]]
+
  |
+
  [[Category:{{{1}}}|{{GetTitle|Category:{{{1}}}}}]]
+
}}
+

Latest revision as of 17:22, 7 June 2010

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