Template:User language subcategory/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:User language subcategory. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template is intended for use on language user category pages that are part of the Babel category tree.
This template should be transcluded, not substituted.
Syntax
{{User language subcategory
| language-code =
| language-name =
| level =
| description =
}} |
Required parameters
The following parameters are required:
language-code
- The two-or-more-letter code of the language – e.g.
en
for English.
language-name
- The name of the language, without wikilinks, corresponding to the title of the main article about the language – e.g.
English language
.
level
- The level of the category – e.g.
5
for Category:User en-5.
description
- A description, with an English-language translation (if applicable), of the scope of the category, corresponding to the category's level as defined at Template:Babel.
Optional parameter
This template supports one optional parameter:
|N=no
- This prevents the N-level category from being displayed and should be used for non-natural languages, such as programming languages, where a category for native speakers is not applicable.
The full syntax, with the optional parameter in use:
{{User language subcategory|N=no
| language-code =
| language-name =
| level =
| description =
}} |
See also
- Template:Category User iso-n - development of this template that fills in the parameters automatically based on the category name