模板:Ru-noun+
Ru-noun+ m 无生 (属格 Ru-noun+а,主格复数 Ru-noun+ы,属格复数 Ru-noun+ов)
本模板基于Module:ru-headword中的函数noun_plus
工作,用于取代{{ru-noun}}
。It takes the same parameters as {{ru-noun-table}}
and automatically generates the appropriate nominative singular, genitive singular, nominative plural and genitive plural. It can also take additional parameters:
|f=
,|f2=
, ...- Corresponding feminine nouns.
|m=
,|m2=
, ...- Corresponding masculine nouns.
|g=
,|g2=
, ...- Explicit gender(s). Not necessary except in rare cases, as gender is inferred automatically, and can be specified within the
{{ru-noun-table}}
parameters in the inference would be wrong. |old=
- If given, this will generate pre-reform declensions.
For many words, all you need to do is specify the word itself, e.g. {{ru-noun+|генеало́гия}}
produces
генеало́гия (genealógija) f 无生 (属格 генеало́гии,主格复数 генеало́гии,属格复数 генеало́гий)
For words with more complicated declensions, see {{ru-noun-table}}
.
To generate a header with pre-reform spellings, use |old=y
. This is required if the lemma belongs to a pre-reform-only declension class such as ъ
. For example: {{ru-noun+|c|югъ|(1)|old=y}}
produces
югъ (jug) m 无生 (属格 ю́га,主格复数 юга́,属格复数 юго́въ)
For multiword expressions, you can insert links into the {{ru-noun-table}}
parameters, which will show up in the headword and won't interfere with declension. Example:
{{ru-noun+|[[бабий|ба́бье]]|+|_|c|[[ле́то]]}}
将产生
ба́бье ле́то (bábʹje léto) n 无生 (属格 ба́бьего ле́та,主格复数 ба́бьи лета́,属格复数 ба́бьих ле́т)