ទំព័រគំរូ:plural of
Plural form of {{ Script error: The function "lookup_language" does not exist. |lang=en|[[{{{1}}}#Script error: The function "lookup_language" does not exist.|{{{1}}}]]}}
- ឯកសារកម្មតទៅនេះស្ថិតនៅទំព័រគំរូ:plural of/documentation។ [កែប្រែ]
- តំណភ្ជាប់មានប្រយោជន៍ : បញ្ជីទំព័ររង • សម្រង់ • ការបញ្ជូនបន្ត
Usage
កែប្រែUse this template to show the simple definition for an entry that is the plural inflection of a primary entry.
For most plural entries, use in the definition line:
# {{plural of| |lang=xx}}
E.g., on "words":
===Noun===
# {{plural of|word|lang=en}}
displays:
Noun
- Plural form of {{ Script error: The function "lookup_language" does not exist. |lang=en|[[word#Script error: The function "lookup_language" does not exist.|word]]}}
and places the article in Category:English plurals automatically.
And on "stanas":
===Noun===
# {{plural of|stan|stān|lang=ang}}
displays:
Noun
- Plural form of {{ Script error: The function "lookup_language" does not exist. |lang=ang|[[stan#Script error: The function "lookup_language" does not exist.|stān]]}}
and places the article in Category:Old English plurals automatically.
Note that users can customize how the output of this template displays by modifying their monobook.css files. See “Form of” templates for details.
Parameters
កែប្រែLanguage
កែប្រែThis template is not language specific, but, if used with the lang
parameter the relevant category can be applied to the article in which the template is included.
lang
= used to specify the language code i.e. es for Spanish, sco for Scots
For the French word bagues (plural of bague):
{{plural of|bague|lang=fr}}
This would place the article bagues in Category:French plurals.
Examples
កែប្រែThe following example demonstrate some of the template's parameters in use
input | output |
---|---|
{{plural of|español}} |
lang=en|[[español#Script error: The function "lookup_language" does not exist.|español]]}} (Category:English plurals) |
{{plural of|español|lang=es}} |
lang=es|[[español#Script error: The function "lookup_language" does not exist.|español]]}} (Category:Spanish plurals) |
{{plural of|español|nocat=1}} |
lang=en|[[español#Script error: The function "lookup_language" does not exist.|español]]}} (no categorization) |
{{plural of|español|sort=espanol}} |
lang=en|[[español#Script error: The function "lookup_language" does not exist.|español]]}} (Category:English plurals under espanol instead of español) |
{{plural of|español|lang=es|nocat=1}} |
lang=es|[[español#Script error: The function "lookup_language" does not exist.|español]]}} (no categorization; links directly to español#Spanish) |
{{plural of|español|lang=es|nocat=1|sort=espanol}} |
identical to above, since no categorization when nocat is used |
Categorization
កែប្រែBy default this template will place entries the appropriate language's plural category. If this is not desired add the parameter nocat=1
.