Jump to content

ទំព័រគំរូ:en-noun/doc

ពីWiktionary

Template:en-noun is an inflection template for most English nouns.

Quick guide

[កែប្រែ]
code result
{{en-noun}} or {{en-noun|s}} noun (plural nouns)
{{en-noun|es}} church (plural churches)
{{en-noun|belfr|ies}} belfry (plural belfries)
{{en-noun|-}} awe (uncountable)
{{en-noun|s|-}} beer (countable and uncountable; plural beers)
{{en-noun|-|s}} rain (usually uncountable; plural rains)
{{en-noun|-|greeneries}} greenery (usually uncountable; plural greeneries)
{{en-noun|!}} or {{en-noun|!|s}} abliguration (plural not attested)
{{en-noun|?}} or {{en-noun|?|s}} tuchus
{{en-noun|s|?}} noun (plural nouns)
{{en-noun|pl=seraphs|pl2=seraphim}} seraph (plural seraphs or seraphim)
{{en-noun|sg=[[hot]] [[dog]]}} hot dog (plural hot dogs)
{{en-noun|sg=[[shoe]] [[polish]]|es}} shoe polish (plural shoe polishes)
{{en-noun|sg=[[chain]][[man]]|pl=chainmen}} chainman (plural chainmen)

This template contains the necessary meta-data to allow users who are using accelerated editing to create any grammatical forms semi-automatically.

Deprecated templates

[កែប្រែ]

This template replaces all previous English noun inflection templates: en-noun2, en-noun-reg, en-noun-reg-es, en-noun-reg-y, en-noun-irreg, en-noun-unc, en-noun-reg-both, en-noun-reg-es-both, en-noun-reg-y-both, en-noun-irreg-both.

Extended guide

[កែប្រែ]

Use this template to show the inflection line of an English singular noun.

This template shows the noun in bold (optionally linking its components) and its plural inflections, if any.

{{en-noun}}
{{en-noun|es}}
{{en-noun|...|ies}}
{{en-noun|pl= |pl2= |pl3= }}
{{en-noun|... }} <!-- for detailed notes -->
{{en-noun|sg= |pl=... }} <!-- for detailed notes -->

If the term has uncountable senses, the template can indicate whether the term is sometimes or never countable:

{{en-noun|-}}
{{en-noun|es|-}}
{{en-noun|... |-}}

In entries for English plural nouns, use {{en-plural noun}}:

{{en-plural noun}} 
{{en-plural noun|head=[[Christmas]] [[lights]]}} 
{{en-plural noun|sg=firework}}

Parameters

[កែប្រែ]

If the noun forms its plural by adding -s, no parameters are necessary. E.g. on "word":

===Noun===
{{en-noun}}

The above code displays as follows:

Noun

word (plural words)

Singular
word

Plural
words

If the noun forms its plural by adding -es, specify that, e.g. on "march":

{{en-noun|es}}
march (plural marches)

Singular
march

Plural
marches

If the noun forms its plural by changing its ending (e.g., by dropping its -y to add -ies), use two parameters, e.g. on "ally" and "erratum":

{{en-noun|all|ies}}
ally (plural allies)
{{en-noun|errat|a}}
erratum (plural errata)

If the noun has an irregular plural, specify it, e.g. on "mouse":

{{en-noun|mice}}
mouse (plural mice)

Singular
mouse

Plural
mice

If the noun is identical in the plural, but still countable, specify it, e.g. on "Abkhaz":

{{en-noun|Abkhaz}}
Abkhaz (plural Abkhaz)

Singular
Abkhaz

Plural
Abkhaz

If the noun is uncountable, use "-", e.g. on "awe":

{{en-noun|-}}
awe (uncountable)

Singular
awe

Plural
(uncountable)

Similarly, on "beer" and "geometry":

{{en-noun|s|-}}
beer (countable and uncountable; plural beers)
{{en-noun|geometr|ies|-}}
geometry (countable and uncountable; plural geometries)

If the noun has multiple plural forms, use the pl2 and optionally the pl3 parameters, e.g. on "octopus":

{{en-noun|es|pl2=octopi|pl3=octopodes}}
octopus (plural octopuses or octopi or octopodes)

Singular
octopus

Plural
octopuses or octopi or octopodes

To show a custom singular or plural note, use sg for the singular, e.g. on "fuzzy die":

{{en-noun|sg=[[fuzzy]] [[die]]|pl=''Depending on meaning, either'' '''fuzzy die''' ''or'' '''[[fuzzy dice]]'''}}
fuzzy die (plural Depending on meaning, either fuzzy die or fuzzy dice)

Singular
fuzzy die

Plural
Depending on meaning, either fuzzy die or fuzzy dice

Pluralia tantum

[កែប្រែ]

If the word is a plurale tantum, then use Template:en-plural noun instead.

Unit tests

[កែប្រែ]

To confirm that any changes retain the required functionality, review Template:en-noun/test.