<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3APlural</id>
	<title>Template:Plural - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3APlural"/>
	<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Plural&amp;action=history"/>
	<updated>2026-04-18T22:58:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Plural&amp;diff=8693&amp;oldid=prev</id>
		<title>Aperture AI: Imported from OTF2 Wiki</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Plural&amp;diff=8693&amp;oldid=prev"/>
		<updated>2011-05-01T05:08:47Z</updated>

		<summary type="html">&lt;p&gt;Imported from OTF2 Wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#switch: {{{lang|}}}&lt;br /&gt;
|cs|sk={{#switch: {{{1|}}} |1= {{{2|}}} |2|3|4= {{{3|}}} |#default= {{{4|}}} }}&lt;br /&gt;
|am|fr|hi|hy|ln|mg|pt-br|ti|tl|wa={{#ifexpr: {{{1|}}} &amp;lt;= 1 | {{{2|}}} | {{{3|}}} }}&lt;br /&gt;
|be|be-tarask|bs|hr|ru|sh|sr|sr-ec|sr-el|uk={{#ifexpr: ({{{1|}}} &amp;gt; 10) and trunc(({{{1|}}} mod 100) / 10) = 1 | {{{4|}}} | {{#switch: {{#expr:{{{1|}}} mod 10}} |1= {{{2|}}} |2|3|4= {{{3|}}} |#default= {{{4|}}} }} }}&lt;br /&gt;
|#default={{#ifeq: {{{1|}}} | 1 | {{{2|}}} | {{{3|}}} }}&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&amp;lt;!-- &lt;br /&gt;
&lt;br /&gt;
 --&amp;gt;{{doc begin}}&lt;br /&gt;
{{hatnote|The following documentation has been copied from &amp;quot;[http://commons.wikimedia.org/wiki/Template:Plural/doc Template:Plural/doc]&amp;quot; on the Wikimedia Commons.}}&lt;br /&gt;
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 [[m:Magic words#Language-dependent word conversions|&amp;lt;nowiki&amp;gt;{{PLURAL:}}&amp;lt;/nowiki&amp;gt; parser function]], except that the language code is given as a parameter.  For most languages, including English, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Plural | lang=xx | {{{n}}} | singular | plural}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is exactly equivalent to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#ifeq: {{{n}}} | 1 | singular | plural}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, but for some languages the rules are different and some even have more than one plural form:&lt;br /&gt;
&lt;br /&gt;
* {{#language:am}} (&amp;#039;&amp;#039;&amp;#039;am&amp;#039;&amp;#039;&amp;#039;), {{#language:fr}} (&amp;#039;&amp;#039;&amp;#039;fr&amp;#039;&amp;#039;&amp;#039;), {{#language:hi}} (&amp;#039;&amp;#039;&amp;#039;hi&amp;#039;&amp;#039;&amp;#039;), {{#language:hy}} (&amp;#039;&amp;#039;&amp;#039;hy&amp;#039;&amp;#039;&amp;#039;), {{#language:ln}} (&amp;#039;&amp;#039;&amp;#039;ln&amp;#039;&amp;#039;&amp;#039;), {{#language:mg}} (&amp;#039;&amp;#039;&amp;#039;mg&amp;#039;&amp;#039;&amp;#039;), {{#language:pt-br}} (&amp;#039;&amp;#039;&amp;#039;pt-br&amp;#039;&amp;#039;&amp;#039;), {{#language:ti}} (&amp;#039;&amp;#039;&amp;#039;ti&amp;#039;&amp;#039;&amp;#039;), {{#language:tl}} (&amp;#039;&amp;#039;&amp;#039;tl&amp;#039;&amp;#039;&amp;#039;), {{#language:wa}} (&amp;#039;&amp;#039;&amp;#039;wa&amp;#039;&amp;#039;&amp;#039;):&lt;br /&gt;
*: Zero is considered singular, not plural.&lt;br /&gt;
* {{#language:cs}} (&amp;#039;&amp;#039;&amp;#039;cs&amp;#039;&amp;#039;&amp;#039;), {{#language:sk}} (&amp;#039;&amp;#039;&amp;#039;sk&amp;#039;&amp;#039;&amp;#039;):&lt;br /&gt;
*: Czech and Slovak have two plural forms: the first, a &amp;quot;paucal&amp;quot; form, is used for the numbers 2, 3 and 4, while the other is used for larger numbers.&lt;br /&gt;
* {{#language:be}} (&amp;#039;&amp;#039;&amp;#039;be&amp;#039;&amp;#039;&amp;#039;), {{#language:be-tarask}} (&amp;#039;&amp;#039;&amp;#039;be-tarask&amp;#039;&amp;#039;&amp;#039;), {{#language:bs}} (&amp;#039;&amp;#039;&amp;#039;bs&amp;#039;&amp;#039;&amp;#039;), {{#language:hr}} (&amp;#039;&amp;#039;&amp;#039;hr&amp;#039;&amp;#039;&amp;#039;), {{#language:ru}} (&amp;#039;&amp;#039;&amp;#039;ru&amp;#039;&amp;#039;&amp;#039;), {{#language:sh}} (&amp;#039;&amp;#039;&amp;#039;sh&amp;#039;&amp;#039;&amp;#039;), {{#language:sr}} (&amp;#039;&amp;#039;&amp;#039;sr&amp;#039;&amp;#039;&amp;#039;), {{#language:sr-ec}} (&amp;#039;&amp;#039;&amp;#039;sr-ec&amp;#039;&amp;#039;&amp;#039;), {{#language:sr-el}} (&amp;#039;&amp;#039;&amp;#039;sr-el&amp;#039;&amp;#039;&amp;#039;), {{#language:uk}} (&amp;#039;&amp;#039;&amp;#039;uk&amp;#039;&amp;#039;&amp;#039;):&lt;br /&gt;
*: Same as above, except that only the &amp;#039;&amp;#039;last&amp;#039;&amp;#039; 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–33 etc. use the paucal form and 5–19, 25–29, 25–39 etc. use the plural).&lt;br /&gt;
&lt;br /&gt;
Currently, only the exceptions listed above are implemented, but others can and should be added as needed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;{{{n}}} {{Plural | lang=en | {{{n}}} | apple | apples }}&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
** produces: &amp;quot;0 {{Plural | lang=en | 0 | apple | apples }}&amp;quot;, &amp;quot;1 {{Plural | lang=en | 1 | apple | apples }}&amp;quot;, &amp;quot;2 {{Plural | lang=en | 2 | apple | apples }}&amp;quot;, etc.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;{{{n}}} {{Plural | lang=fr | {{{n}}} | pomme | pommes }}&amp;lt;/nowiki&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
** produces: &amp;quot;0 {{Plural | lang=fr | 0 | pomme | pommes }}&amp;quot;, &amp;quot;1 {{Plural | lang=fr | 1 | pomme | pommes }}&amp;quot;, &amp;quot;2 {{Plural | lang=fr | 2 | pomme | pommes }}&amp;quot;, etc.&lt;br /&gt;
&lt;br /&gt;
[[Category:Language templates|Plural]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aperture AI</name></author>
	</entry>
</feed>