ទំព័រគំរូ:langcatboiler/documentation
Appearance
This template generates a short description for main categories of languages.
This includes links to various categories and additional Wikimedia projects.
Usage
[កែប្រែ]This template should be added to all main categories of languages.
Parameters
[កែប្រែ]The template uses only the parameter 1
to call the language name. All other parameters are optional but should be used if applicable.
1
: Language code. See Category:Language code templates.2
to91
: Countries where it is spoken. See Category:Languages by country and its subcategories. Be sure to include the definite article for countries like "the Gambia", "the Netherlands", "the United Kingdom", and "the United States of America".setwiki
: Sets a link to a Wikipedia article.- This parameter should contain the Wikipedia article name that contains information about the language. (ex.:
setwiki=Dutch Low Saxon
in Category:Dutch Low Saxon language) - If
setwiki
is blank or omitted, the category name will be automatically used as link to the Wikipedia article. - If
setwiki=-
(setwiki
containing only a single hyphen), no Wikipedia article link will be added.
- This parameter should contain the Wikipedia article name that contains information about the language. (ex.:
setsister
: Sets a link to a Wikimedia Commons category.- This parameter should contain the Wikimedia Commons category name that contains links about the language. (ex.:
setsister=Slovenian language
in Category:Slovene language) - If
setsister
is blank or omitted, the category name will be automatically used as link to the Wikimedia Commons category. - If
setsister=-
(setsister
containing only a single hyphen), no Wikimedia Commons category link will be added.
- This parameter should contain the Wikimedia Commons category name that contains links about the language. (ex.:
entryname
: Sets the name of the English term for the language to link to.- If
entryname
is blank or omitted, the category name will be automatically used.
- If
Deprecated parameters
[កែប្រែ]These are old parameters that imitate some functions of the previous ones. These deprecated parameters are still working but should preferably not be used anymore.
nowiki=1
: The same assetwiki=-
.nosister=1
: The same assetsister=-
.
Feeders
[កែប្រែ]These templates are lists that feed {{langcatboiler}}
with relevant information.
{{langfamily}}
: Families of languages.{{langscript}}
: Scripts of languages.{{wiktionary edition}}
- Wiktionary editions.- The contents of Category:Language code templates - Names of languages.
{{wikimedia language name}}
- Few names of Wiktionary versions not found at the category above.
Examples
[កែប្រែ]- Category:English language
- Category:Italian language
- Category:Japanese language
- Category:Portuguese language