Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Line 908: Line 908:
if checked then
if checked then
local form_3s = get_forms(pp['3s'])
local form_2s = get_forms(pp.depers or pp['2s'], "", "nv$", "nu")
if table_type ~= "tr" and table_type ~= "intr" and table_type ~= "pass" and table_type ~= "impers" then error("Invalid table type") end
if table_type ~= "tr" and table_type ~= "intr" and table_type ~= "pass" and table_type ~= "impers" then error("Invalid table type") end
add("<small>")
add("<small>")
Line 947: Line 949:
th("indicative", 2, 1)
th("indicative", 2, 1)
th("non-past")
th("non-past")
if pp['3s'] == (pp.depers or pp['2s']) then
if form_3s == form_2s then
td(get_forms(pp['3s']), 1, 2)
td(form_3s, 1, 2)
else
else
td(get_forms(pp['3s']))
td(form_3s)
td(get_forms(pp.depers or pp['2s'], "", "nv$", "nu"))
td(form_2s)
end
end
_tr()
_tr()
Line 1,262: Line 1,264:
td(get_forms(pp['1s']))
td(get_forms(pp['1s']))
if (pp.imp and pp.a ~= pp.imp) or pp.vstem then td(get_forms(pp.a)) end
if (pp.imp and pp.a ~= pp.imp) or pp.vstem then td(get_forms(pp.a)) end
if pp['3s'] == (pp.depers or pp['2s']) then
if form_3s == form_2s then
td(get_forms(pp['3s']), 1, 3)
td(form_3s, 1, 3)
else
else
td(get_forms(pp['3s']), 1, 2)
td(form_3s, 1, 2)
td(get_forms(pp.depers or pp['2s'], "", "nv$", "nu"))
td(form_2s)
end
end
local temp_height = 1
local temp_height = 1

Navigation menu