Module:rad-stem/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 202: Line 202:
end
end
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" style=\"text-align: center\">")
tr()
tr()
th("Comparative forms of ''" .. lemma .. "''&nbsp;",1,2)
th("Comparative forms of ''" .. lemma .. "''&nbsp;",1,2)
Line 520: Line 520:
anim_acc = get_forms("anim_acc", stems.anim .. "est", adj, "est")
anim_acc = get_forms("anim_acc", stems.anim .. "est", adj, "est")
anim_ins = get_forms("anim_ins", stems.anim .. "evúr", adj, "evúr")
anim_ins = get_forms("anim_ins", stems.anim .. "evúr", adj, "evúr")
add("<table width=100% class=\"wikitable inflection table\" style=\"text-align: center\">")
add("<table width=100% class=\"blacklinks wikitable inflection table\" style=\"text-align: center\">")
tr()
tr()
th("Attributive forms", 1, 3)
th("Attributive forms", 1, 3)
Line 549: Line 549:
end
end


add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" style=\"text-align: center\">")
if table_type == "sgpl" or table_type == "adj" then
if table_type == "sgpl" or table_type == "adj" then
if table_type == "adj" then
if table_type == "adj" then
Line 916: Line 916:
local cite = ""
local cite = ""
if (type(pp.inf) == "table") then cite = pp['inf'][1]['word'] else cite = pp.inf end
if (type(pp.inf) == "table") then cite = pp['inf'][1]['word'] else cite = pp.inf end
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" width=70% style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" width=70% style=\"text-align: center\">")
tr()
tr()
th("Conjugation of ''" .. cite .. "'' (impersonal) &nbsp;", 1, 5)
th("Conjugation of ''" .. cite .. "'' (impersonal) &nbsp;", 1, 5)
Line 1,029: Line 1,029:
tr_()
tr_()
add("</table>")
add("</table>")
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" width=70% style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" width=70% style=\"text-align: center\">")
tr()
tr()
th("Compound forms of ''" .. cite .. "'' (impersonal) &nbsp;", 1, 5)
th("Compound forms of ''" .. cite .. "'' (impersonal) &nbsp;", 1, 5)
Line 1,174: Line 1,174:
local cite = ""
local cite = ""
if (type(pp.inf) == "table") then cite = pp['inf'][1]['word'] else cite = pp.inf end
if (type(pp.inf) == "table") then cite = pp['inf'][1]['word'] else cite = pp.inf end
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
tr()
tr()
th("Conjugation of ''" .. cite .. "'' (active voice) &nbsp;", 1, 14)
th("Conjugation of ''" .. cite .. "'' (active voice) &nbsp;", 1, 14)
Line 1,462: Line 1,462:
add("</table>")
add("</table>")
if pp.inf ~= "hjeat" then
if pp.inf ~= "hjeat" then
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
tr()
tr()
th("Compound forms of ''" .. cite .. "'' (active voice) &nbsp;", 1, 14)
th("Compound forms of ''" .. cite .. "'' (active voice) &nbsp;", 1, 14)
Line 1,777: Line 1,777:
local cite = ""
local cite = ""
if (type(pp.passinf) == "table") then cite = pp['passinf'][1]['word'] else cite = pp.passinf end
if (type(pp.passinf) == "table") then cite = pp['passinf'][1]['word'] else cite = pp.passinf end
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
tr()
tr()
th("Conjugation of ''" .. cite .. "uot'' (passive voice) &nbsp;", 1, 14)
th("Conjugation of ''" .. cite .. "uot'' (passive voice) &nbsp;", 1, 14)
Line 2,018: Line 2,018:
tr_()
tr_()
add("</table>")
add("</table>")
add("<table class=\"mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
add("<table class=\"blacklinks mw-collapsible mw-collapsed wikitable inflection table\" width=100% style=\"text-align: center\">")
tr()
tr()
th("Compound forms of ''" .. cite .. "uot'' (passive voice) &nbsp;", 1, 14)
th("Compound forms of ''" .. cite .. "uot'' (passive voice) &nbsp;", 1, 14)