From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Plural/doc.

This template can be used to select the singular or plural form of a word depending on a number and the grammar rules of a language. It functions more or less like the {{PLURAL:}} parser function, except that the language code is given as a parameter. For most languages, including English, {{Plural | lang=xx | {{{n}}} | singular | plural}} is exactly equivalent to {{#ifeq: {{{n}}} | 1 | singular | plural}}, but for some languages the rules are different and some even have more than one plural form:

  • አማርኛ (am), français (fr), हिन्दी (hi), Հայերեն (hy), lingála (ln), Malagasy (mg), português do Brasil (pt-br), ትግርኛ (ti), Tagalog (tl), walon (wa):
    Zero is considered singular, not plural.
  • čeština (cs), slovenčina (sk):
    Czech and Slovak have two plural forms: the first, a "paucal" form, is used for the numbers 2, 3 and 4, while the other is used for larger numbers.
  • беларуская (be), беларуская (тарашкевіца)‎ (be-tarask), bosanski (bs), hrvatski (hr), русский (ru), srpskohrvatski / српскохрватски (sh), српски / srpski (sr), српски (ћирилица)‎ (sr-ec), srpski (latinica)‎ (sr-el), українська (uk):
    Same as above, except that only the last digit matters (but numbers ending in 11–19 are always plural; so 1, 21, 31, etc. all use the singular, 2–4, 22–24, 32–34 etc. use the paucal form and 5–19, 25–29, 35–39 etc. use the plural).

Currently, only the exceptions listed above are implemented, but others can and should be added as needed.


  • "{{{n}}} {{Plural | lang=en | {{{n}}} | apple | apples }}"
    • produces: "0 apples", "1 apple", "2 apples", etc.
  • "{{{n}}} {{Plural | lang=fr | {{{n}}} | pomme | pommes }}"
    • produces: "0 pomme", "1 pomme", "2 pommes", etc.

(To do: add more examples)


{{Plural |lang= |1= |2= |3= |4= }}

Template parameters

langISO language code"en" (effectively)optional
2Singular formemptyrequired
3Plural form (or first plural form for languages with several)emptyrequired
4Second plural form (for languages with several plural forms)emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified


This template is not intended to be localized.