Template:En-noun/doc

維基詞典,自由的多語言詞典

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

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

上手指南[编辑]

代码 效果 备注
{{en-noun}}{{en-noun|+}}{{en-noun|s}} noun(复数 nouns
{{en-noun}}{{en-noun|+}}{{en-noun|es}} church(复数 churches
{{en-noun}}{{en-noun|+}} belfry(复数 belfries
{{en-noun|-}} awe不可数
{{en-noun|-|+}}{{en-noun|-|s}} rain(通常不可数,复数 rains
{{en-noun|-|+}} greenery(通常不可数,复数 greeneries
{{en-noun|~}} beer可数 & 不可数,复数 beers
{{en-noun|!}} abligurition(plural not attested)
{{en-noun|?}} tuchus unknown or uncertain plural
{{en-noun|+|seraphim}} seraph(复数 seraphsseraphim
{{en-noun|head=[[hot]] [[dog]]}} hot dog(复数 hot dogs
{{en-noun|head=[[shoe]] [[polish]]|+}} shoe polish(复数 shoe polishes
{{en-noun|head=[[chain]][[man]]|chainmen}} chainman(复数 chainmen

深入指南[编辑]

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|+}}
{{en-noun|s}}
{{en-noun|es}}
{{en-noun|...}}
{{en-noun|...|...}}

If the term has uncountable senses, the template can indicate whether the term is sometimes or never countable. Specifying - as the first parameter indicates that a term is uncountable, and no plural is shown by default. If it may occasionally be used as countable, specify the plural form after it.

{{en-noun|-}}
{{en-noun|-|+}}
{{en-noun|-|...}}

Specifying ~ instead indicates that the term is used more or less equally as countable and as uncountable, and uses the default plural.

{{en-noun|~}}
{{en-noun|~|...}}

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

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

参数[编辑]

The default plural is formed as follows:

  1. If the noun ends in -s, -x, -z, -sh or -ch, add -es.
  2. If the noun ends in -y preceded by a consonant (any letter other than a, e, i, o or u), change the -y to -i and add -es.
  3. Otherwise, add -s.

If the noun forms its plural according to these rules, no parameters are necessary. E.g. on "cherry":

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

The above code displays as follows:

Noun

cherry (plural cherries)

If the noun forms its plural in any other way (e.g. on "mouse"):

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

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

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

To explicitly request the default plural, use +. This is not necessary if the only has one plural, but it useful if the noun has multiple plurals, e.g. on "octopus":

{{en-noun|+|octopi|octopodes}}
octopus (plural octopuses or octopi or octopodes)

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

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

If the noun is usually uncountable, use - followed by an explicit plural, e.g. on "reality":

{{en-noun|-|+}}
reality (usually uncountable, plural realities)

If the noun is either countable or uncountable, use ~, e.g. on "beer" and "geometry":

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

If you want to qualify a plural, use |plNqual=:

{{en-noun|+|treen|pl2qual=obsolete}}
tree (plural trees or (obsolete) treen)

Pluralia tantum[编辑]

If the word is a plurale tantum (always or usually used in the plural only, such as scissors or cattle), then use {{en-plural noun}} instead.

单元测试[编辑]

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