45,660
edits
No edit summary |
No edit summary |
||
Line 127: | Line 127: | ||
local case_short = sub(case, 1, 3) | local case_short = sub(case, 1, 3) | ||
table.insert(ret, "|- \n! style=\"background-color: #dcffed;\ |" .. case .. "\n") | table.insert(ret, "|- \n! style=\"background-color: #dcffed;\ |" .. case .. "\n") | ||
table.insert(ret, "| style=\"background-color: #edfff6;\" | " .. show_form(pass.forms[case_short .. "_sg"]) .. "\n") | table.insert(ret, "| style=\"background-color: #edfff6;\" | [[Contionary:" .. show_form(pass.forms[case_short .. "_sg"]) .. "|" .. show_form(pass.forms[case_short .. "_sg"]) .. "]]\n") | ||
if pass.forms[case_short .. "_pl"] or pass.forms[case_short .. "_pa"] or pass.forms[case_short .. "_co"] then | if pass.forms[case_short .. "_pl"] or pass.forms[case_short .. "_pa"] or pass.forms[case_short .. "_co"] then | ||
table.insert(ret, "| style=\"background-color: #edfff6;\" | [[Contionary:" .. show_form(pass.forms[case_short .. "_pl"]) .. "|" .. show_form(pass.forms[case_short .. "_pl"]) .. "]]\n") | table.insert(ret, "| style=\"background-color: #edfff6;\" | [[Contionary:" .. show_form(pass.forms[case_short .. "_pl"]) .. "|" .. show_form(pass.forms[case_short .. "_pl"]) .. "]]\n") | ||
table.insert(ret, "| style=\"background-color: #edfff6;\" | " .. show_form(pass.forms[case_short .. "_pa"]) .. "\n") | table.insert(ret, "| style=\"background-color: #edfff6;\" | [[Contionary:" .. show_form(pass.forms[case_short .. "_pa"]) .. "|" .. show_form(pass.forms[case_short .. "_pa"]) .. "]]\n") | ||
table.insert(ret, "| style=\"background-color: #edfff6;\" | " .. show_form(pass.forms[case_short .. "_co"]) .. "\n") | table.insert(ret, "| style=\"background-color: #edfff6;\" | [[Contionary:" .. show_form(pass.forms[case_short .. "_co"]) .. "|" .. show_form(pass.forms[case_short .. "_co"]) .. "]]\n") | ||
end | end | ||
end | end |