Template:sk-noun: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
Bequw (talk | contribs)
+{{documentation}}
Mglovesfun (talk | contribs)
m moved Template:sk-noun/new to Template:sk-noun: cannot locate any bugs
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--head word in bold-->{{Latn|{{{sg|{{{head|{{PAGENAME}}}}}}}}|lang=sk|face=head}}<!--switch for the gender
{{#if:{{{sg|}}}

|
-->{{#if:{{{g|{{{1|}}}}}}|&nbsp;{{#switch:{{{g|{{{1}}}}}}|m={{m}}|f={{f}}|mf={{m|f}}|n={{n}}|mp={{m|p}}|fp={{f|p}}|np={{n|p}}|mfp={{m|f|p}}|mfn={{m|f|n}}|{{{g|{{{1}}}}}}={{#ifeq:{{NAMESPACE}}||[[Category:Slovak nouns lacking gender]]}}}}|{{#ifeq:{{NAMESPACE}}||[[Category:Slovak nouns lacking gender]]}}}}<!--check for nominative plural and genitive singular
{{infl|sk|noun|g={{{g}}}|head={{{sg}}}}}

|
-->{{#if:{{{gen|}}}|&#32;(''genitive singular'' '''{{l|sk|{{{gen}}}}}'''{{#if:{{{pl|}}}|,&#32;|)}}}}{{#if:{{{pl|}}}|{{#if:{{{gen|}}}||&#32;(}}''nominative plural'' '''{{l|sk|{{{pl}}}}}''')}}<!--check for declension pattern and existence of related appendix
{{infl|sk|noun|g={{{g}}}}}

}}<noinclude>{{documentation}}</noinclude>
-->{{#if:{{{decl|}}}|,&#32;''declension pattern'' {{#ifexist:Appendix:Slovak declension pattern {{{decl}}}|[[Appendix:Slovak declension pattern {{{decl}}}|{{{decl}}}]]|{{{decl}}}}}}}<!--categorize

-->{{#ifeq:{{NAMESPACE}}||[[Category:Slovak nouns|{{{sort|{{PAGENAME}}}}}]]}}<noinclude>{{documentation}}</noinclude>

Revision as of 11:34, 15 April 2011

Template:Latn


Usage

Parameters

Parameter Function Default value (if left unspecified)
1 or g The gender, the template accepts m, f, n, m-p, f-p, n-p Category:Slovak nouns lacking gender
head The head word, if different from the page name, or to link to individual words {{PAGENAME}}
gen The genitive singular None, only displayed when specified
genpl The genitive plural None, only displayed when specified
pl The nominative plural None, only displayed when specified
decl The declension type None, only displayed when specified
f Female equivalent (for masculine animate nouns) None, only displayed when specified
m Male equivalent (for feminine animate nouns) None, only displayed when specified
sort The sort key for Category:Slovak nouns {{PAGENAME}}

Examples

  • tulipán: {{sk-noun|g=m|gen=tulipána|pl=tulipány|decl=dub}}
  • priateľka: {{sk-noun|g=f|gen=priateľky|pl=priateľky|decl=žena}}