Difference between revisions of "Template:Category"

From Synfig Studio :: Documentation
Jump to: navigation, search
(no need for second argument)
(Fix template to provide link to corresponding category page whether it exist or not)
 
(3 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}}}]]