Template:Phrasebook cat
Jump to navigation
Jump to search
This template should be used on pages in the Category: namespace, and automatically generates descriptions and categorization for categories of a recognized type (see below). It is implemented by Module:category tree and its submodule Module:category tree/phrasebook cat. It is preferable not to invoke this template directly, but to simply use {{auto cat}}
(with no parameters), which will automatically invoke this template on appropriately-named category pages.
- The following documentation is located at Template:Phrasebook cat/documentation. [edit]
- Useful links: subpage list • transclusions • redirects • sandbox
This template automatically generates descriptions and categorization for phrasebook categories, whose name follows the format "(language name) phrasebook/(label)" and "Phrasebooks by language".
Parameters
1=
- The language code (see Project:Languages) of the language that the category name begins with, and which the category's contents belongs to. Leave this empty for "by language" type categories.
2=
- The label of the category. This is the part of the category name that follows the language name and the text "phrasebook/". Leave it empty for the main phrasebook category.
Examples
- On Category:Trigedasleng phrasebook:
{{phrasebook cat|trig}}
- On Category:Trigedasleng phrasebook/Health:
{{phrasebook cat|trig|Health}}
- On Category:Phrasebooks by language:
{{phrasebook cat}}