Module:Lexeme-pl/doc
This is the documentation page for Module:Lexeme-pl
Nouns
editThere is general p.noun
function to build lexeme with declension:
p.noun(nominative,genitive,dative,accusative,instrumental,locative,vocative, nominative_plural,genitive_plural,dative_plural,accusative_plural,instrumental_plural,locative_plural,vocative_plural)
On top of it there are specialized functions for regular declensions:
p.noun_citizen_man(man)
andp.noun_citizen_woman(woman)
for nouns about citizens of villages in Dictionary of names of towns and inhabitants with inflection and language tips (Q55798440) (443 pages of such nouns)- Example usage:
{{#invoke:Lexeme-pl|noun_citizen_man|żeliszewianin}}
{{#invoke:Lexeme-pl|noun_citizen_woman|żeliszewianka}}
Adjectives
editThere is general p.adjective(word,comparative,equivalent,participle)
. Its parameters are compatible with template on Polish Wiktionary so it should be easy to import from pl.wiktionary. Parameters are:
word
- adjectivecomparative
- optional,- for empty or "brak" there are no "comparative" and "superlative" forms
- for "bardziej" there are regular "comparative" and "superlative" forms
- for other value it is basic form of "comparative" form
equivalent
- optional,participle
- optional, "tak" or "nie" ("yes/no")
Example usage:
{{#invoke:Lexeme-pl|adjective|ciasny|ciaśniejszy}}