Шаблон:Plural

Материал из Guild Wars 2 wiki
Версия от 16:53, 19 августа 2013; Snowbirdie (обсуждение | вклад) (Новая страница: «{{{1|}}} {{#ifeq:{{{1|}}}|1|{{{2|}}}|{{{3|}}}}}<noinclude> == Description == Selects wording based on the number specified in the first parameter. If it is '…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

 

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