Module:rad-stem/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 497: Line 497:
local vocdu = get_forms("vocdu", stems.dat .. "te", adj_broken_e)
local vocdu = get_forms("vocdu", stems.dat .. "te", adj_broken_e)
local gendu = get_forms("gendu", stems.dat .. "tis", adj, "eris")
local gendu = get_forms("gendu", stems.dat .. "tis", adj, "eris")
local gendu_short = get_forms("gendu_short", stems.dat .. "ts", adj, "es")
local gendu_short = get_forms("gendu_short", stems.dat .. "tis", adj, "es")
local datdu = get_forms("datdu", stems.dat .. "tín", adj, "erín")
local datdu = get_forms("datdu", stems.dat .. "tín", adj, "erín")
local accdu = get_forms("accdu", stems.dat .. "tid", adj, "erid")
local accdu = get_forms("accdu", stems.dat .. "tid", adj, "erid")
Line 721: Line 721:
th("proper")
th("proper")
td(gen, 2, 1)
td(gen, 2, 1)
if definite then
if definite or adj then
td(gendu)
td(gendu)
else
else
Line 729: Line 729:
_tr()
_tr()
th("constructive")
th("constructive")
if not definite then td(gendu_short) end
if not (definite or adj) then td(gendu_short) end
td(genpl_short)
td(genpl_short)
_tr()
_tr()
Line 747: Line 747:
td(inspl)
td(inspl)
tr_()
tr_()
elseif table_type == "dupl" and definite then
elseif table_type == "dupl" and (definite or adj) then
th("Declension of <i>" .. nomdu_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 3)
th("Declension of <i>" .. nomdu_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 3)
tr()
tr()