Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
Added vocative
mNo edit summary
(Added vocative)
Line 73: Line 73:
local stems = {
local stems = {
nom = args['nom'] or stem_gen.nom,
nom = args['nom'] or stem_gen.nom,
nom = args['voc'] or stem_gen.voc,
acc = args['acc'] or stem_gen.acc,
acc = args['acc'] or stem_gen.acc,
dat = args['dat'] or stem_gen.dat,
dat = args['dat'] or stem_gen.dat,
Line 197: Line 198:
nom_cite = get_forms("nom", stems.nom, adj_broken_e, "", true)
nom_cite = get_forms("nom", stems.nom, adj_broken_e, "", true)
end
end
local voc = get_forms("voc", stems.voc, adj_broken_e)
local gen = get_forms("gen", stems.gen, adj_broken, "k")
local gen = get_forms("gen", stems.gen, adj_broken, "k")
local dat = get_forms("dat", stems.dat, adj, "a")
local dat = get_forms("dat", stems.dat, adj, "a")
Line 234: Line 236:
th("nominative", 1, 2)
th("nominative", 1, 2)
if nom == nompl then
if nom == nompl then
td(nompl, 1, 2)
td(nompl, 2, 2)
else
else
td(nom)
td(nom)
td(nompl)
td(nompl, 2)
end
add("</tr>")
add("<tr>")
th("vocative", 1, 2)
if nom ~= nompl then
td(voc)
end
end
add("</tr>")
add("</tr>")
Line 274: Line 282:
th("nominative")
th("nominative")
td(nom)
td(nom)
add("</tr>")
add("<tr>")
th("vocative")
td(voc)
add("</tr>")
add("</tr>")
add("<tr>")
add("<tr>")
Line 299: Line 311:
add("<tr>")
add("<tr>")
th("nominative", 1, 2)
th("nominative", 1, 2)
td(nompl)
td(nompl, 2)
add("</tr>")
add("<tr>")
th("vocative", 1, 2)
add("</tr>")
add("</tr>")
add("<tr>")
add("<tr>")
Line 336: Line 351:
th("nominative", 1, 2)
th("nominative", 1, 2)
td(nom)
td(nom)
td(nomdu)
td(nomdu, 2)
td(nompl)
td(nompl, 2)
add("</tr>")
add("<tr>")
th("vocative", 1, 2)
td(voc)
add("</tr>")
add("</tr>")
add("<tr>")
add("<tr>")
Line 377: Line 396:
add("<tr>")
add("<tr>")
th("nominative", 1, 2)
th("nominative", 1, 2)
td(nomdu)
td(nomdu, 2)
add("</tr>")
add("<tr>")
th("vocative", 1, 2)
add("</tr>")
add("</tr>")
add("<tr>")
add("<tr>")

Navigation menu