Difference between revisions of "Template:AutoCategory"

From Lazarus wiki
(+ ja, ko, pt)
(+ ar, vi)
Line 2: Line 2:
 
{{ #switch:{{#titleparts:{{PAGENAME}}|1|2}}
 
{{ #switch:{{#titleparts:{{PAGENAME}}|1|2}}
 
| af= [[Category:Afrikaans|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| af= [[Category:Afrikaans|{{#titleparts:{{PAGENAME}}|1|}}]]
 +
| ar= [[Category:Arabic|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| cs= [[Category:Czech|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| cs= [[Category:Czech|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| de= [[Category:Deutsch|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| de= [[Category:Deutsch|{{#titleparts:{{PAGENAME}}|1|}}]]
Line 17: Line 18:
 
| ru= [[Category:Russian|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| ru= [[Category:Russian|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| sk= [[Category:Slovensky|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| sk= [[Category:Slovensky|{{#titleparts:{{PAGENAME}}|1|}}]]
 +
| vi= [[Category:Vietnamese|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| zh CN= [[Category:zh|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| zh CN= [[Category:zh|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| zh TW= [[Category:zh|{{#titleparts:{{PAGENAME}}|1|}}]]
 
| zh TW= [[Category:zh|{{#titleparts:{{PAGENAME}}|1|}}]]

Revision as of 20:26, 7 June 2015

This template automatic add a page to category by check title suffix

Template use

Copy and paste this line on top of your page:

{{AutoCategory}}