Difference between revisions of "Template:Category"

From Synfig Studio :: Documentation
Jump to: navigation, search
(First stab at category template)
 
(Fix template to provide link to corresponding category page whether it exist or not)
 
(4 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}}|{{{2|{{GetTitle|Category:{{{1}}}/{{#titleparts:{{PAGENAME}}||-1}}}}}}}]]
+
  |
+
  [[Category:{{{1}}}|{{{2|{{GetTitle|Category:{{{1}}}}}}}}]]
+
}}
+

Latest revision as of 17:22, 7 June 2010

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