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" | Biến cách'..
		'\n|- class="vsHide"'..
		'\n! style="background-color:#dedede; min-width: 5em" colspan="1" |'..gender..
		'\n! style="background-color:#dedede; min-width: 6em" |số ít'..
		'\n! style="background-color:#dedede; min-width: 6em" |số kép'..
		'\n! style="background-color:#dedede; min-width: 6em" |số nhiều'..
		'\n|- class="vsHide"'..
		'\n! style="background-color:#cdcdcd; min-width: 5em" | [[nominative|Nom.]]'..
		'\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|Gen.]]'..
		'\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|Acc.]]'..
		'\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|Cons.]]'..
		'\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