Template:rm-noun/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:rm-noun. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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:

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

===Noun===
{{rm-noun|m|f=Rumantscha}}

Parameters[edit]

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[edit]

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