Шаблон:auto cat/documentation

Извор: Викиречник
Пређи на навигацију Пређи на претрагу
Edit-copy green.svg Документација за Шаблон:auto cat. [edit]
Ова страница садржи usage information, categories, interwiki links and other content describing the template.

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 Категорија:Грузијска имена слова) and the algorithm would otherwise think it was another type of category (like Категорија:Грузијски леме).

Some category pages cannot be generated using this template. For example, Категорија: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 Категорија:Кинеска астрономија. 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: