45,647
edits
No edit summary |
No edit summary |
||
Line 71: | Line 71: | ||
data.head = parent_args["head"] or nil | data.head = parent_args["head"] or nil | ||
-- Generate the forms | -- Generate the forms | ||
Line 128: | Line 127: | ||
end | end | ||
local function make_cases(data, | local function make_cases(data, pre) | ||
local cases = {"nominative", "accusative", "genitive", "dative", "locative", "instrumental", "comitative", "vocative"} | local cases = {"nominative", "accusative", "genitive", "dative", "locative", "instrumental", "comitative", "vocative"} | ||
local genders = {"lunar", "solar", "terrestrial", "aquatic"} | local genders = {"lunar", "solar", "terrestrial", "aquatic"} | ||
local ret = {} | local ret = {} | ||
data.pre = | data.pre = pre | ||
for _, case in ipairs(cases) do | for _, case in ipairs(cases) do | ||
Line 171: | Line 170: | ||
! ]=] .. g_tooltip("s", "ol") .. [=[​ | ! ]=] .. g_tooltip("s", "ol") .. [=[​ | ||
! ]=] .. g_tooltip("p", "pa") .. [=[​ | ! ]=] .. g_tooltip("p", "pa") .. [=[​ | ||
|- ]=] .. make_cases(data, | |- ]=] .. make_cases(data, true) .. [=[ | ||
|}<ul style="margin-left:0px;"></ul> | |}<ul style="margin-left:0px;"></ul> | ||
]=] | ]=] | ||
Line 192: | Line 191: | ||
! ]=] .. g_tooltip("s", "ol") .. [=[​ | ! ]=] .. g_tooltip("s", "ol") .. [=[​ | ||
! ]=] .. g_tooltip("p", "pa") .. [=[​ | ! ]=] .. g_tooltip("p", "pa") .. [=[​ | ||
|- style="background-color:#fdfdfd;" ]=] .. make_cases(data, | |- style="background-color:#fdfdfd;" ]=] .. make_cases(data, false) .. [=[ | ||
|} | |} | ||
]=] | ]=] |