Module:akk-decl-noun/table
Jump to navigation
Jump to search
- This module lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
local export = {}
local links = require("Module:links")
local lang = require("Module:languages").getByCode("akk")
function export.render(cun, rom, gender, note)
for key, val in pairs(cun) do
cun[key] = links.full_link({
term = rom[key],
alt = val,
lang = lang
})
end
return
'{| class="inflection-table vsSwitcher autocollapsed" data-toggle-category="inflection" style="background:#FF; text-align:center; border: 0.5px solid #CCC;"'..
'\n|- style="background: #dedede"'..
'\n! class="vsToggleElement" style="text-align: center; width:20em" colspan="5" | Declension'..
'\n|- class="vsHide"'..
'\n! style="background-color:#dedede; min-width: 5em" colspan="1" |'..gender..
'\n! style="background-color:#dedede; min-width: 6em" |singular'..
'\n! style="background-color:#dedede; min-width: 6em" |dual'..
'\n! style="background-color:#dedede; min-width: 6em" |plural'..
'\n|- class="vsHide"'..
'\n! style="background-color:#cdcdcd; min-width: 5em" | Nominative'..
'\n| style="background-color:#fdfdfd;" |'..rom["nom.sg"]..
'\n| style="background-color:#fdfdfd;" |'..rom["nom.du"]..
'\n| style="background-color:#fdfdfd;" |'..rom["nom.pl"]..
'\n|- class="vsHide"'..
'\n! style="background-color:#cdcdcd; min-width: 5em" | Genitive'..
'\n| style="background-color:#fdfdfd;" |'..rom["gen.sg"]..
'\n| style="background-color:#fdfdfd;" |'..rom["gen.du"]..
'\n| style="background-color:#fdfdfd;" |'..rom["gen.pl"]..
'\n|- class="vsHide"'..
'\n! style="background-color:#cdcdcd; min-width: 5em" | Accusative'..
'\n| style="background-color:#fdfdfd;" |'..rom["acc.sg"]..
'\n| style="background-color:#fdfdfd;" |'..rom["gen.du"]..
'\n| style="background-color:#fdfdfd;" |'..rom["gen.pl"]..
'\n|- class="vsHide"'..
'\n! style="background-color:#cdcdcd; min-width: 5em" | Construct state'..
'\n| style="background-color:#fdfdfd;" |'..rom.bound..
'\n|- class="vsHide"'..
'\n| style="font-size:85%; text-align:left; background-color:#fdfdfd" colspan="4" |'.. note..
'\n|}'
end
return export