Шаблон:Plural

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

 

Description

Selects wording based on the number specified in the first parameter. If it is 1, it is output followed by the second parameter. If it is anything else, it is output followed by the third parameter.

Usage

   {{plural|<amount>|<singular>|<plural>}}
amount
Amount of somethings to output.
singular
Name of the something, in singular form.
plural
Name of the somethings, in plural form.

Examples

1 Coconut and 5 Coconuts.

   {{plural|1|Coconut|Coconuts}} and {{plural|5|Coconut|Coconuts}}.