Template:Rm-noun
外观
Rm-noun ? (複數 Rm-nouns)
This template specifies the gender, plural, and other-gendered word. It should be used just under the 'Noun' header for Romansch words. See "Examples" for several examples, and "Parameters" for help on individual parameters. For example, on Rumantsch:
此模板包含必要的元数据,以允許使用加速編輯的使用者半自動地建立任何語法形式。
===Noun===
{{rm-noun|m|f=Rumantscha}}
Parameters
[编辑]| Parameter | Function | Default value (if left unspecified) |
| head, sg or current | The head word, if different from the page name, or to link to individual words | {{PAGENAME}} |
| 1 | The gender. It accepts m, f or mf | Category:Romansch nouns lacking gender |
| pl or plural | The (masculine) plural form. When it is specified as -, the noun is given as uncountable | [[{{PAGENAME}}s]] |
| f | Feminine form | No default, only used when specified |
| fplural | Feminine plural form | No default, only used when specified |
| pl2 | The second plural | No default, only used when specified |
| sort or cat | Sort key for Category:Romansch nouns | {{PAGENAME}} |
| type | Used to specify the following:type=plural for pluralia tantum
|
N/A |
Categorization
[编辑]The template will automatically place pages in the following categories. Note that it will only categorize when used in the main namespace:
| Category | Condition |
|---|---|
| Romansch nouns | (all pages) |
| Romansch nouns lacking gender | The gender parameter is empty (Using "-" hides the gender without this category). |
| Romansch plurals | The plural matches the current page name, or the type parameter is "plural" |
| Romansch pluralia tantum | The type parameter is "plural", or the plural form specified is identical to the singular form |