Template:Pluralizer: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 19: Line 19:
{{#ifeq:{{#var:last1}}|o|{{{1|}}}es|
{{#ifeq:{{#var:last1}}|o|{{{1|}}}es|
{{{1|}}}s}}}}}}}}}}}}
{{{1|}}}s}}}}}}}}}}}}
}}</includeonly><noinclude>This template is used to get the plural form of most words barring a few exceptions using the following rules:
}}}}</includeonly><noinclude>This template is used to get the plural form of most words barring a few exceptions using the following rules:
* To make regular nouns plural, add –s to the end.
* To make regular nouns plural, add –s to the end.
* If the singular noun ends in –s, –ss, –sh, –ch, –x, or –z, add -es to the end to make it plural.
* If the singular noun ends in –s, –ss, –sh, –ch, –x, or –z, add -es to the end to make it plural.

Revision as of 20:56, 18 February 2023

This template is used to get the plural form of most words barring a few exceptions using the following rules:

  • To make regular nouns plural, add –s to the end.
  • If the singular noun ends in –s, –ss, –sh, –ch, –x, or –z, add -es to the end to make it plural.
  • If the noun ends with –f or –fe, the f or –fe are often changed to –ve before adding the –s to form the plural version.
  • If a singular noun ends in –y and the letter before the –y is a consonant, change the ending to –ies to make the noun plural.
  • If the singular noun ends in –y and the letter before the –y is a vowel, simply add an –s to make it plural.
  • If the singular noun ends in –o, add –es to make it plural.
  • If the singular noun ends in –us, the plural ending is frequently –i.
  • If the singular noun ends in –is, the plural ending is frequently –es.
  • If the singular noun ends in –on, the plural ending is –a.

Note: This template doesn't check if a word is already in Plural form so Classes would be returned as Classees.