Template:User language subcategory/sandbox
Appearance
{{{language-code}}}- | {{{description}}} |
The main article for this category is [[{{{language-name}}}]].
|
[[Category:User {{{language-code}}}| {{{level}}}]]
This is the template sandbox page for Template:User language subcategory (diff). See also the companion subpage for test cases. |
Usage
[edit]This template is intended for use on language user category pages that are part of the Wikipedians by language, or Babel, category tree.
This template should be transcluded, not substituted.
Syntax
[edit]{{User language subcategory
| language-code =
| language-name =
| level =
| description =
}}
|
Required parameters
[edit]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 Wikipedia:Babel.
Optional parameter
[edit]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
[edit]- Template:Category User iso-n - development of this template that fills in the parameters automatically based on the category name