Template talk:En-infl-noun
From Wikipedia
Contents |
[edit] Template name
Note: this template is temporarily called "en-infl-noun". If approved it will replace all English noun inflection templates: Template:Top3
- en-noun
- en-noun2
- en-noun-reg
- en-noun-reg-es
Template:Mid3
- en-noun-reg-y
- en-noun-irreg
- en-noun-unc
- en-noun-reg-both
Template:Mid3
- en-noun-reg-es-both
- en-noun-reg-y-both
- en-noun-irreg-both
Template:Bottom
The usage notes below are written in anticipation of this template being moved to "en-noun".
[edit] Usage
Use this template to show the inflection line of an English 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|... }} {{en-noun|... |pl2= |pl3= }} {{en-noun|[[...]] [[...]] | [[...]] or [[...|...]]}} <!-- 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|... |-}}
[edit] View as table or inline
Each person can choose to see this template as a table or inline by configuring Special:Mypage/monobook.css.
Consistent with the majority of entries, the default display style is inline. To show the table format, add the following to Special:Mypage/monobook.css:
.infl-inline {display:none} .infl-table {display:inline}
Note: This template is being discussed for approval. If both forms display, refresh your browser cache (Mozilla/Firefox/Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: click the Reload button or press F5; Opera users may need to completely clear their cache in Tools→Preferences). A goal on WT:GP is to simplify monobook customization. Until then, use the above code to see inflections in tables.
[edit] 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:
-
[edit] Noun
- word (plural words)
Singular |
Plural |
If the noun forms its plural by adding a -es, specify that, e.g. on "march":
{{en-noun|es}}
- march (plural marches)
Singular |
Plural |
If a regular 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 "datum":
{{en-noun|all|ies}}
{{en-noun|dat|a}}
If the noun has an irregular plural, specify it, e.g. on "mouse":
{{en-noun|mice}}
- mouse (plural mice)
Singular |
Plural |
If the noun is uncountable, use "-", e.g. on "awe":
{{en-noun|-}}
- awe (uncountable)
Singular |
Plural |
If the noun is both countable and uncountable, depending on use, use both the plural notation followed by "-", e.g. on "beer" and "geometry":
{{en-noun|s|-}}
{{en-noun|geometr|ies|-}}
- beer (countable and uncountable; plural beers)
Singular |
Plural |
If the noun is 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 |
Plural |
To show a custom singular or plural note, two parameters with wiki markup, e.g. on "fuzzy die":
{{en-noun|[[fuzzy]] [[die]]|Depending on meaning, either '''fuzzy die''' or '''[[fuzzy dice]]'''}}
- fuzzy die (plural Depending on meaning, either fuzzy die or fuzzy dice)
Singular |
Plural |
[edit] Tests
See /test.