Template:Auto cat
(This template should be used on pages in the Category: namespace.)
- The following documentation is located at Template:Auto cat/documentation. [edit]
- Useful links: subpage list • transclusions • redirects • sandbox
This template is used on category pages to automatically add a category boilerplate template. It invokes Module:auto cat, which deciphers the category name and transcludes the correct template with the correct parameters.
No parameters are needed in most cases, but |nopos=1
can be used to indicate that the page is a topic category, when it starts with a language name (such as Category:Georgian letter names) and the algorithm would otherwise think it was another type of category (like Category:Georgian lemmas).
Some category pages cannot be generated using this template. For example, Category:Latin words suffixed with -inus needs to use {{suffix cat}}
so that the suffix in the category description can be displayed as -īnus, with a macron. Some category names will not be recognized, like Category:Chinese astronomy. In these situations, it's necessary to use the real template.
To more easily add this template, place importScript('User:Erutuon/addAutoCat.js');
in your common.js. This will add buttons directly below the first heading. Click them to add the template and save, or add the template and preview.
It currently recognises categories that use the following templates:
{{ar-root cat}}
{{az-compound cat}}
{{borrowed cat}}
{{calque cat}}
{{charactercat}}
{{circumfix cat}}
{{classifier cat}}
{{coinage cat}}
{{derived cat}}
{{family cat}}
{{HE root cat}}
{{he-patterncat}}
{{ine-root shape cat}}
{{infix cat}}
{{inherited cat}}
{{interfix cat}}
{{ja-cat-written with n kanji}}
{{ja-readings-cat}}
{{ja-readascat}}
{{letter cat}}
{{manual translit diff cat}}
{{name cat}}
{{nl-pref verb cat}}
{{nl-sep verb cat}}
{{no entry cat}}
{{phrasebook cat}}
{{PIE root cat}}
{{PIE word cat}}
{{poscatboiler}}
{{prefix cat}}
{{redundant translit cat}}
{{root cat}}
{{ryu-cat-written with n kanji}}
{{ryu-readings-cat}}
{{ryu-readascat}}
{{script cat}}
{{semantic loan cat}}
{{suffix cat}}
{{tone cat}}
{{topic cat}}
{{topic name cat}}
{{translit cat}}
{{unadapted borrowing cat}}
{{Unicode block cat}}