Template:sk-ndecl
- The following documentation is located at Template:sk-ndecl/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
This template returns the whole declension of Slovak nouns. It works with almost any noun or multiword term and requires one mandatory parameter with the option to specify other things as needed. The module that produces the forms for this template is modeled after the official guidelines for Slovak morphology by Jozef Ružička and co.: Morfológia slovenského jazyka, 1966.
Parameters
- parameter 1 (mandatory) – the gender of the noun – the recognised values are
m-pr
(masculine personal),m-anml
(masculine animal),m-in
(masculine inanimate),f
(feminine) andn
(neuter); - parameter 2 (only when needed) – the genitive form of the noun – use this parameter:
- for any noun ending with -er or -el, where the -e- is omitted apart from the basic form (as there are no exact rules as to when the e is mobile), e.g. náter, tiger;
- if there are more declensions using different stems, e.g. Herkules (use a slash to separate the genitive forms:
Herkula/Herkulesa
); - for nouns whose stem changes when declined, e.g. Zeus, Artemis;
- for multiword terms, if some of the words are declined incorrectly by the module, e.g. rozliate mlieko;
- for any nouns, if you are getting wrong forms.
Other optional parameters
n
– the number – for pluralia/singularia tantum – the recognised values aresg
andpl
;g
– the genitive ending – for specifying the genitive ending of masculine inanimate nouns – the recognised values areu
,a/u
andu/a
(-a is the default ending);pl
– the plural ending – used to specify the plural ending of animate masculine nouns when the module generates an incorrect form – the recognised values arei
,ovia
,ia
and any combination separated by slashes (e.g.i/ovia
);pl2
– alternative plural – used when the animate plural is needed along with the inanimate plural for animal nouns (use aspl2=1
);t
– type – used in special cases when certain types of verbs are declined differently – the recognised types are these:name
,surn
(surname) – use always with these types;loan
– use with masculine loanwords ending with -ch or -ta, masculine inanimate nouns ending with -us/-os/-es where the ending is eliminated in other cases and feminine or neuter loanwords whose genitive plural should have a short stem and the module is generating a long one;dim
(diminutive) – use with neuter diminutives ending with -ko or -ce if the genitive plural generated by the module is wrong;der
(derived) – use with feminine derivatives formed with the suffix -ba (tvorba) or -ca if the genitive plural generated by the module is wrong;abstr
(abstract),comp-deverb
(compound ending with a deverbative noun),material
,collect
(collective) – better not to use for now, implemented only with potential future use in mind.
- any form can be overridden or additional forms added in rare cases where the module can't produce a complete correct declension by using the case and number in this format:
gen_sg
(genitive singular),dat_pl
(dative plural),loc_sg2
(the alternative form of the locative singular), etc.
Examples
A simple regular noun like ruka requires only 1 parameter:
{{sk-ndecl|f}}
The result:
The noun tiger ends with -er, but the -e- is omitted in other cases, therefore the genitive form must be specified as parameter 2:
{{sk-ndecl|m-anml|tigra}}
The result:
The noun pontifex has a different stem for other cases, so genitive must be specified here as well. At the same time, the module produces a wrong nominative plural form, so the ending can be specified as parameter pl
:
{{sk-ndecl|m-pr|pontifika|pl=ovia}}
The result:
singular | plural | |
---|---|---|
nominative | pontifex | pontifikovia |
genitive | pontifika | pontifikov |
dative | pontifikovi | pontifikom |
accusative | pontifika | pontifikov |
locative | pontifikovi | pontifikoch |
instrumental | pontifikom | pontifikmi |
Inanimate masculine nouns often have two possible genitive forms, which can be specified by the parameter g
:
{{sk-ndecl|m-in|g=u/a}}
The result:
singular | plural | |
---|---|---|
nominative | trolejbus | trolejbusy |
genitive | trolejbusu, trolejbusa | trolejbusov |
dative | trolejbusu | trolejbusom |
accusative | trolejbus | trolejbusy |
locative | trolejbuse | trolejbusoch |
instrumental | trolejbusom | trolejbusmi |
Kováč is a surname, which must be specified by the parameter t
:
{{sk-ndecl|m-pr|t=surn}}
The result:
singular | plural 1 | plural 2 | |
---|---|---|---|
nominative | Kováč | Kováčovia | Kováčovci |
genitive | Kováča | Kováčov | Kováčovcov |
dative | Kováčovi | Kováčom | Kováčovcom |
accusative | Kováča | Kováčov | Kováčovcov |
locative | Kováčovi | Kováčoch | Kováčovcoch |
instrumental | Kováčom | Kováčmi | Kováčovcami |
Pluralia tantum like Bátorove Kosihy need be specified by the parameter n
. At the same time, the genitive form must be specified, because in this multiword term, the module can't recognise from the ending alone that the word Bátorove is an adjective:
{{sk-ndecl|f|Bátorových Kosíh|n=pl}}
The result:
plural | |
---|---|
nominative | Bátorove Kosihy |
genitive | Bátorových Kosíh |
dative | Bátorovým Kosihám |
accusative | Bátorove Kosihy |
locative | Bátorových Kosihách |
instrumental | Bátorovými Kosihami |
Latin and Greek names often have two declensions – one with the original Latin/Greek genitive stem and one assimilated to the Slovak declension. This can be specified by giving both genitive forms:
{{sk-ndecl|m-pr|Plutóna/Pluta|n=sg}}
The result:
If a multiword term has parts that shouldn't be declined, the genitive must be provided:
{{sk-ndecl|m-pr|Síria A|n=sg}}
The result:
Known issues
There are cases where the module can't handle declining a term even with all the options that it offers. In these cases, use the template {{sk-decl-noun}}
instead and fill out the forms manually. These cases are known:
- terms containing words connected with a dash, where both of these connected terms are declined;
- terms containing words of different genders.
See also
{{sk-conj}}
– for the conjugation of Slovak verbs{{sk-adecl}}
– for the declension of Slovak adjectives