Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 386: Line 386:
end
end
if nolink then
if nolink then
article = article .. "[[Category:Radestrian definite terms]] "
article = article .. " "
else
else
article = rad_link(article) .. " "
article = rad_link(article) .. " "
Line 438: Line 438:
local voc = get_forms("voc", stems.voc, adj_broken_e)
local voc = get_forms("voc", stems.voc, adj_broken_e)
local gen = ""
local gen = ""
local gen_short = ""
local dat = ""
local dat = ""
local acc = ""
local acc = ""
Line 444: Line 445:
if gender == "an" then
if gender == "an" then
gen = get_forms("gen", stems.gen, adj, "esk")
gen = get_forms("gen", stems.gen, adj, "esk")
gen_short = get_forms("gen_short", stems.gen, adj, "esk")
dat = get_forms("dat", stems.dat, adj, "en")
dat = get_forms("dat", stems.dat, adj, "en")
acc = get_forms("acc", stems.acc, adj, "est")
acc = get_forms("acc", stems.acc, adj, "est")
Line 449: Line 451:
else
else
gen = get_forms("gen", stems.gen, adj_broken, "k")
gen = get_forms("gen", stems.gen, adj_broken, "k")
gen_short = get_forms("gen_short", stems.gen, adj_broken, "k")
dat = get_forms("dat", stems.dat, adj, "a")
dat = get_forms("dat", stems.dat, adj, "a")
acc = get_forms("acc", stems.acc, adj_broken, "t")
acc = get_forms("acc", stems.acc, adj_broken, "t")
Line 540: Line 543:
_tr()
_tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("proper")
td(gen, 2, 1)
if definite then
td(gen)
else
td(gen, 2, 1)
end
if table_type == "adj" then td(anim_gen, 2, 1) end
if table_type == "adj" then td(anim_gen, 2, 1) end
td(genpl)
td(genpl)
_tr()
_tr()
th("short")
th("constructive")
if definite then
td(gen_short)
end
td(genpl_short)
td(genpl_short)
_tr()
_tr()
Line 562: Line 572:
if table_type == "adj" then td(anim_ins) end
if table_type == "adj" then td(anim_ins) end
td(inspl)
td(inspl)
tr_()
elseif table_type == "sg" and definite then
th("Declension of <i>" .. nom_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 3)
tr()
th("", 1, 2)
th("singular")
_tr()
th("nominative", 1, 2)
if nom == voc then td(nom, 2) else td(nom) end
_tr()
th("vocative", 1, 2)
if nom ~= voc then td(voc) end
_tr()
th("genitive", 2, 1)
th("proper")
td(gen)
_tr()
th("constructive")
td(gen_short)
_tr()
th("dative", 1, 2)
td(dat)
_tr()
th("accusative", 1, 2)
td(acc)
_tr()
th("instrumental", 1, 2)
td(ins)
tr_()
tr_()
elseif table_type == "sg" then
elseif table_type == "sg" then
Line 599: Line 637:
_tr()
_tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("proper")
td(genpl)
td(genpl)
_tr()
_tr()
th("short")
th("constructive")
td(genpl_short)
td(genpl_short)
_tr()
_tr()
Line 633: Line 671:
_tr()
_tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("proper")
td(gen, 2, 1)
td(gen, 2, 1)
td(gendu)
td(gendu)
td(genpl)
td(genpl)
_tr()
_tr()
th("short")
th("constructive")
td(gendu_short)
td(gendu_short)
td(genpl_short)
td(genpl_short)
Line 669: Line 707:
_tr()
_tr()
th("genitive", 2, 1)
th("genitive", 2, 1)
th("long")
th("proper")
td(gendu)
td(gendu)
_tr()
_tr()
th("short")
th("constructive")
td(gendu_short)
td(gendu_short)
_tr()
_tr()
Line 696: Line 734:
elseif table_type == "dupl" then add("[[Category:" .. m_languages.get_by_code("rad").name .. " pluralia binaria]]" .. "[[Category:" .. m_languages.get_by_code("rad").name .. " pluralia binaria tantum]]")
elseif table_type == "dupl" then add("[[Category:" .. m_languages.get_by_code("rad").name .. " pluralia binaria]]" .. "[[Category:" .. m_languages.get_by_code("rad").name .. " pluralia binaria tantum]]")
end
end
if definite then add("[[Category:Radestrian definite terms]]") end
end
end

Navigation menu