Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 607: Line 607:
tr_()
tr_()
elseif table_type == "sg" then
elseif table_type == "sg" then
th("Declension of <i>" .. nom_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 2)
if definite then
tr()
th("Declension of <i>" .. nom_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 3)
th("")
tr()
th("singular")
th("", 1, 2)
_tr()
th("singular")
th("nominative")
_tr()
if nom == voc then td(nom, 2) else td(nom) end
th("nominative", 1, 2)
_tr()
if nom == voc then td(nom, 2) else td(nom) end
th("vocative")
_tr()
if nom ~= voc then td(voc) end
th("vocative", 1, 2)
_tr()
if nom ~= voc then td(voc) end
th("genitive")
_tr()
td(gen)
th("genitive", 2, 1)
_tr()
th("proper")
th("dative")
td(gen)
td(dat)
_tr()
_tr()
th("constructive")
th("accusative")
td(gen_short)
td(acc)
_tr()
_tr()
th("dative", 1, 2)
th("instrumental")
td(dat)
td(ins)
_tr()
tr_()
th("accusative", 1, 2)
td(acc)
_tr()
th("instrumental", 1, 2)
td(ins)
tr_()
else
th("Declension of <i>" .. nom_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 2)
tr()
th("")
th("singular")
_tr()
th("nominative")
if nom == voc then td(nom, 2) else td(nom) end
_tr()
th("vocative")
if nom ~= voc then td(voc) end
_tr()
th("genitive")
td(gen)
_tr()
th("dative")
td(dat)
_tr()
th("accusative")
td(acc)
_tr()
th("instrumental")
td(ins)
tr_()
end
elseif table_type == "pl" then
elseif table_type == "pl" then
th("Declension of <i>" .. nompl_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 3)
th("Declension of <i>" .. nompl_cite .. "</i> (" .. type_name .. ") &nbsp;", 1, 3)

Navigation menu