Modul:cs-sk-headword: Rozdźěl mjez wersijomaj

Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Rjadka 223:
end
end
 
-- Parse and insert an inflection not requiring additional processing into `data.inflections`. The raw arguments come
-- from `args[field]`, which is parsed for inline modifiers. If there is a corresponding qualifier field `FIELD_qual`,
-- qualifiers may additionally come from there. `label` is the label that the inflections are given, which is linked to
-- the glossary if preceded by * (which is removed). `plpos` is the plural part of speech, used in
-- [[Category:LANGNAME PLPOS with red links in their headword lines]]. `accel` is the accelerator form, or nil.
local function handle_infl(field, label, frob)
m_headword_utilities.parse_and_insert_inflection {
headdata = data,
forms = args[field],
paramname = field,
label = label,
frob = frob,
}
end
 
handle_infl("gen", "<<genitive>> <<singular>>")
handle_infl("pl", "<<nominative>> <<plural>>")
handle_infl("genpl", "<<genitive>> <<plural>>")
handle_infl("decl", "declension pattern of", function(decl)
return ("[[Appendix:%s declension pattern %s|%s]]"):format(data.langname, decl, decl)
end)
handle_infl("m", "muski pendant")
handle_infl("ž", "žónski pendant")
handle_infl("kajk", "<<relational adjective|relacionalny kajkostnik>>")
handle_infl("pos", "<<possessive adjective|posesiwny kajkostnik>>")
handle_infl("pom", "<<pomjeńšenka>>")
handle_infl("aug", "<<augmentative>>")
handle_infl("pej", "<<pejorative>>")
handle_infl("dem", "<<demonim>>")
handle_infl("fdem", "žónski <<demonim>>")
end