Template:Plural

From Brickipedia, the LEGO Wiki
Revision as of 22:50, 21 December 2011 by wikia>FB100Z (Created page with "<onlyinclude><includeonly>{{#ifexpr:({{{1}}}) = 1|{{{2}}}|{{{3}}}}}</includeonly></onlyinclude> {{Documentation}} Category:Utility templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Template-info.png Template documentation

This documentation is transcluded from Template:Plural/doc. (edit | history)

  This is a utility template that attempts to "humanize" counters by using the singular of a phrase when it is needed.

The syntax is Template:Te. If expression is 1, then singular is used, otherwise plural is used.

Example[edit]

*0 {{plural|0|plate of waffles|plates of waffles}}
*1 {{plural|1|plate of waffles|plates of waffles}}
*2 {{plural|2|plate of waffles|plates of waffles}}
*3 {{plural|3|plate of waffles|plates of waffles}}
  • 0 plates of waffles
  • 1 plate of waffles
  • 2 plates of waffles
  • 3 plates of waffles