Template:auto cat

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search

(This template should be used on pages in the Category: namespace.)


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: