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. You may occasionally find |nopos=1, which was formerly used to indicate that the page is a topic category when it starts with a language name (such as Category:Georgian letter names), but this is no longer needed.

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.

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:

Note that many types of categories are handled by poscatboiler handlers instead of one of the above templates. For example, see Module:category tree/poscatboiler/data/terms by etymology for many category handlers.