Module:rad-stem/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 368: Line 368:
--adjectives only
--adjectives only
local inan = get_forms("inan", stems.anim, adj_broken_e)
local anim = get_forms("anim", stems.anim .. "e", adj_broken_e)
local anim_gen = get_forms("anim_gen", stems.anim .. "esk", adj, "esk")
local anim_gen = get_forms("anim_gen", stems.anim .. "esk", adj, "esk")
local anim_dat = get_forms("anim_dat", stems.anim .. "en", adj, "en")
local anim_dat = get_forms("anim_dat", stems.anim .. "en", adj, "en")
local anim_acc = get_forms("anim_acc", stems.anim .. "est", adj, "est")
local anim_acc = get_forms("anim_acc", stems.anim .. "est", adj, "est")
local anim_ins = get_forms("anim_ins", stems.anim .. "evúr", adj, "evúr")
local anim_ins = get_forms("anim_ins", stems.anim .. "evúr", adj, "evúr")
if table_type == "adj" then
add("<table class=\"wikitable inflection table\" style=\"text-align: center\">")
tr()
th("Attributive forms", 1, 3)
_tr()
th("inanimate", 2, 1)
th("animate", 1, 2)
_tr()
th("definite")
th("indefinite")
_tr()
td(inan, 1, 2)
td(anim)
tr_()
add("</table>")
end


add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" style=\"text-align: center\">")
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" style=\"text-align: center\">")