Jump to content

ទំព័រគំរូ:plural of/documentation

ពីWiktionary
Documentation for ទំព័រគំរូ:plural of. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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

  1. 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

  1. 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

[កែប្រែ]

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.

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.