বিষয়বস্তুতে চলুন

মডিউল:eu-verb/tables

উইকিঅভিধান, মুক্ত অভিধান থেকে

এই মডিউলের জন্য মডিউল:eu-verb/tables/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে

local export = {}
local m_links = require("Module:links")
local m_table = require("Module:table")
local m_string_utilities = require("Module:string utilities")
local m_com = require("Module:eu-common")
local lang = require("Module:languages").getByCode("eu")

local rsub = m_string_utilities.gsub
local rfind = m_string_utilities.find

-- NOR paradigm (including allocutives)
function export.make_smart_table_nor(data, verb, do_allocutive)
	local data_to_use = do_allocutive and data.alloc or data.forms
	local notes_data = do_allocutive and data.allnotes or data.notes
	local allocutive_text = do_allocutive and " allocutive " or " "
	local function repl(param)
		if param == "info" then
			return mw.getContentLanguage():ucfirst(data.info or "")
		end
		
		local forms = data_to_use[param]
		if not forms then
			return "—"
		end
		
		local ret = {}
		if not do_allocutive then
			for key, subform in ipairs(forms) do
				table.insert(ret, m_links.full_link({lang = lang, term = subform}))
			end
		else
			if #forms[1] ~= #forms[2] then error("The number of masculine and feminine allocutive forms must be equal.") end
			for i, subform in ipairs(forms[1]) do
				local altext = m_com.make_hik_link(subform, forms[2][i])
				if altext then
					table.insert(ret, m_links.full_link({lang = lang, term = subform}) .. altext)
				else
					error("The endings of '" .. subform .. "' and '" .. forms[2][i] .. "' couldn't be matched.")
				end
			end
		end
		return table.concat(ret, "<br/>")
	end
	
	--notes to text
	local notes_text = m_com.generate_notes_text(notes_data)
	
	--header
	local head = mw.getCurrentFrame():expandTemplate{ 
		title = 'inflection-table-top', 
		args = {
			title = 'Conjugation of ' .. mw.getContentLanguage():ucfirst(data.info or "") .. ' (NOR' .. allocutive_text ..  'paradigm)',
			palette = 'custom',
			tall = 'yes',
		}
	} .. [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
]=] .. (do_allocutive and "" or [=[
! <abbr title="second-person singular informal">2nd sg inf.</abbr>
]=]) .. [=[
! <abbr title="third-person singular">3rd sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
]=] .. (do_allocutive and "" or [=[
! <abbr title="second-person singular">2nd sg</abbr>
! <abbr title="second-person plural">2nd pl</abbr>
]=]) .. [=[
! <abbr title="third-person plural">3rd pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | ni
]=] .. (do_allocutive and "" or [=[
! class="secondary" | hi
]=]) .. [=[
! class="secondary" | hura
! class="secondary" | gu
]=] .. (do_allocutive and "" or [=[
! class="secondary" | zu
! class="secondary" | zuek
]=]) .. [=[
! class="secondary" | haiek
]=]

	local endstuff = mw.getCurrentFrame():expandTemplate{
		title = 'inflection-table-bottom',
		args = {
			notes = notes_text
		}
	}

	local wcod_tense = [=[
|- class="inflection-table-COLOR"
! TENSE_NAME
| {{{TENSE_ABBRni}}}
]=] .. (do_allocutive and "" or [=[
| {{{TENSE_ABBRhi}}}
]=]) .. [=[
| {{{TENSE_ABBRhura}}}
| {{{TENSE_ABBRgu}}}
]=] .. (do_allocutive and "" or [=[
| {{{TENSE_ABBRzu}}}
| {{{TENSE_ABBRzuek}}}
]=]) .. [=[
| {{{TENSE_ABBRhaiek}}}
]=]

	local wcod_same_tense_as = [=[
|- class="inflection-table-COLOR"
! TENSE_NAME
| class="secondary" colspan="7" | <div class="center">same as SEE_TENSE</div>	
]=]

	local wcod_tense_mood = [=[
|- class="inflection-table-COLOR"
! class="outer" rowspan="NUM" | MOOD
! TENSE_NAME
| {{{TENSE_ABBRni}}}
]=] .. (do_allocutive and "" or [=[
| {{{TENSE_ABBRhi}}}
]=]) .. [=[
| {{{TENSE_ABBRhura}}}
| {{{TENSE_ABBRgu}}}
]=] .. (do_allocutive and "" or [=[
| {{{TENSE_ABBRzu}}}
| {{{TENSE_ABBRzuek}}}
]=]) .. [=[
| {{{TENSE_ABBRhaiek}}}
]=]

	local wcod_mood_separator = [=[
|-
! class="separator" colspan="9" | 
]=]

	local wikicode = head 
	
	local moods_and_tenses = {
		{ name = "Indicative", color = "blue", tenses = {
			{"Present", "presi"}, 
			{"Past", "pasti"}, 
			{"Conditional", "cond"},
			{'<abbr title="Hypothetic consequence">Hypothetic cons.</abbr>', "hcons"},
			{'<abbr title="Past consequence">Past cons.</abbr>', "pcons"}
		}},
		{ name = "Potential", color = "yellow", tenses = {
			{"Present", "presp"}, 
			{"Hypothetic", "hypp"}, 
			{"Past", "pastp"}
		}},
		{ name = "Subjunctive", color = "green", tenses = {
			{"Present", "press"}, 
			{"Past", "pasts"}, 
		}},
		{ name = "Imperative", color = "orange", tenses = {
			{"Present", "imp"}, 
		}}
	}
	
	--extra tenses
	if verb == "izan" then
		table.insert(moods_and_tenses[1].tenses, {'Future', "fut"})
		table.insert(moods_and_tenses[3].tenses, 2, {'Hypothetic', "hyps"}) --insert before past
		if not do_allocutive then
			table.insert(moods_and_tenses[2].tenses, {'<abbr title="Close conditional">Close cond.</abbr>', "ccond"})
			table.insert(moods_and_tenses[2].tenses, {'<abbr title="Distal conditional">Distal cond.</abbr>', "dcond"})
		end
	end
	
	--tenses we don't show explicitly for clarity
	local equiv_tenses = (m_table.listToSet {"etzan", "izan"}[verb]) and {} or {
		pastp = "indicative past consequence", hypp = "indicative hypothetic consequence", pasts = "indicative past"
	}
	
	--allocutive tenses
	if do_allocutive then
		table.remove(moods_and_tenses, 4) --imperative
		table.remove(moods_and_tenses, 3) --subjunctive
		table.remove(moods_and_tenses[1].tenses, 3) --conditional
		if verb ~= "izan" then
			table.remove(moods_and_tenses[2].tenses, 3) --potential hypothetic
			table.remove(moods_and_tenses[2].tenses, 2) --potential past
		end
	end
	
	--add notes
	local function add_notes(row, mood, tense)
		for i, note in ipairs(notes_data) do
			if note[2] == "tense_name" and m_table.listToSet(note[3])[tense] then
				row = rsub(row, "TENSE_NAME", "TENSE_NAME" .. "<sup>" .. tostring(i) .. "</sup>")
			elseif note[2] == "mood_name" and m_table.listToSet(note[3])[mood] then
				row = rsub(row, "MOOD", "MOOD" .. "<sup>" .. tostring(i) .. "</sup>")
			elseif note[2] == "tense_person" then
				for _, tense_person in ipairs(note[3]) do
					if tense == tense_person[1] then
						row = rsub(row, tense_person[2] .. "}}}", tense_person[2] .. "}}}" .. "<sup>" .. tostring(i) .. "</sup>")
					end
				end
			end
		end
		return row
	end
	
	--construct the table
	local mood_number = #moods_and_tenses
	for i, mood in ipairs(moods_and_tenses) do
		local mood_name = mood.name
		local mood_color = mood.color
		local mood_tenses = mood.tenses
		local mood_size = #mood_tenses
		for j, tense in ipairs(mood_tenses) do
			local tense_name = tense[1]
			local tense_abbr = tense[2]
			local separator = (j == mood_size and i ~= mood_number) and wcod_mood_separator or ""
			if equiv_tenses[tense_abbr] then -- NOTE: we don't need to consider the case where this happens in the first tense of a mood.
				local tense_row = add_notes(wcod_same_tense_as, mood_name, tense_abbr)
				wikicode = wikicode .. m_com.rsub_multiple(tense_row, {"TENSE_NAME", "COLOR", "SEE_TENSE"}, {tense_name, mood_color, equiv_tenses[tense_abbr]}) .. separator
			else
				local tense_row = (j == 1) and wcod_tense_mood or wcod_tense
				tense_row = add_notes(tense_row, mood_name, tense_abbr)
				wikicode = wikicode .. m_com.rsub_multiple(tense_row, 
					{"TENSE_NAME", "TENSE_ABBR", "NUM", "MOOD", "COLOR"}, {tense_name, tense_abbr, tostring(mood_size), mood_name, mood_color}) .. separator
			end
		end
	end
	
	wikicode = wikicode .. endstuff
	
	return mw.ustring.gsub(wikicode, "{{{[#!]?([a-z0-9|]+)}}}", repl)	
end

--Older tables, only partially adapted
function export.make_table(data, type)
	local list_k_n = {}
	local list_n_nan = {}
	local list_ake_nake = {}
	local list_akeen_nakeen = {}
	local list_ala_nala = {}

	local wikicode = nil
	local view_switcher = false
		
	if type == "nornori-atxeki" then
		wikicode = get_nornori_wikicode(type)
		title = '{{{info}}} ― NOR-NORI paradigm'
		view_switcher = true
		list_k_n = m_table.listToSet {"presnihirif", "preshurahirif", "presguhirif", "preshaiekhirif", "imphurahirif", "imphaiekhirif"}
		list_n_nan = m_table.listToSet {"pastnihirif", "pasthurahirif", "pastguhirif", "pasthaiekhirif"}
		list_ake_nake = m_table.listToSet {"hconsnihirif", "hconshurahirif", "hconsguhirif", "hconshaiekhirif"}
	elseif type == "nornori-jariatu" then
		wikicode = get_nornori_wikicode(type)
		title = '{{{info}}} ― NOR-NORI paradigm'
		view_switcher = true
		list_k_n = m_table.listToSet {"preshurahirif", "preshaiekhirif", "imphurahirif", "imphaiekhirif"}
		list_n_nan = m_table.listToSet {"pasthurahirif", "pasthaiekhirif"}
		list_ake_nake = m_table.listToSet {"hconshurahirif", "hconshaiekhirif"}	
	elseif type == "nornori-ibili" then
		wikicode = get_nornori_wikicode(type)
		title = '{{{info}}} ― NOR-NORI paradigm'
		view_switcher = true
		list_k_n = m_table.listToSet {
			"presnihirif", "preshurahirif", "presguhirif", "preshaiekhirif", 
			"condnihirif", "condhurahirif", "condguhirif", "condhaiekhirif", 
			"imphurahirif", "imphaiekhirif",
			"clcondnihirif", "clcondhurahirif", "clcondguhirif", "clcondhaiekhirif"
		}
		list_n_nan = m_table.listToSet {"pastnihirif", "pasthurahirif", "pastguhirif", "pasthaiekhirif", "subpresnihirif", "subpreshurahirif", "subpresguhirif", "subpreshaiekhirif"}
		list_ake_nake = m_table.listToSet {"hconsnihirif", "hconshurahirif", "hconsguhirif", "hconshaiekhirif", "potpresnihirif", "potpreshurahirif", "potpresguhirif", "potpreshaiekhirif"}
		list_akeen_nakeen = m_table.listToSet {"pconsnihirif", "pconshurahirif", "pconsguhirif", "pconshaiekhirif"}
	elseif type == "nornori-izan" then
		wikicode = get_nornori_wikicode(type)
		title = '{{{info}}} ― NOR-NORI paradigm'
		view_switcher = true
		list_k_n = m_table.listToSet {
			"presnihirif", "preshurahirif", "presguhirif", "preshaiekhirif", 
			"condnihirif", "condhurahirif", "condguhirif", "condhaiekhirif", 
			"imphurahirif", "imphaiekhirif",
			"clcondnihirif", "clcondhurahirif", "clcondguhirif", "clcondhaiekhirif",
			"dicondnihirif", "dicondhurahirif", "dicondguhirif", "dicondhaiekhirif"
		}
		list_n_nan = m_table.listToSet {
			"pastnihirif", "pasthurahirif", "pastguhirif", "pasthaiekhirif", 
			"subpresnihirif", "subpreshurahirif", "subpresguhirif", "subpreshaiekhirif",
			"subhypnihirif", "subhyphurahirif", "subhypguhirif", "subhyphaiekhirif",
			"subpastnihirif", "subpasthurahirif", "subpastguhirif", "subpasthaiekhirif"
		}
		list_ake_nake = m_table.listToSet {
			"hconsnihirif", "hconshurahirif", "hconsguhirif", "hconshaiekhirif", 
			"potpresnihirif", "potpreshurahirif", "potpresguhirif", "potpreshaiekhirif",
			"pothyponihirif", "pothypohurahirif", "pothypoguhirif", "pothypohaiekhirif"
		}
		list_akeen_nakeen = m_table.listToSet {
			"pconsnihirif", "pconshurahirif", "pconsguhirif", "pconshaiekhirif",
			"potpastnihirif", "potpasthurahirif", "potpastguhirif", "potpasthaiekhirif"
		}
		list_ala_nala = m_table.listToSet {
			"subpreslanihirif", "subpreslahurahirif", "subpreslaguhirif", "subpreslahaiekhirif",
			"subpastlanihirif", "subpastlahurahirif", "subpastlaguhirif", "subpastlahaiekhirif"
		}
	elseif type == "nornork-eduki" then
		wikicode = table_nornork_eduki
		title = '{{{info}}} ― NOR-NORK paradigm'
		list_k_n = m_table.listToSet {"1b", "11b", "17b", "31b", "73b", "89b", "109b", "125b", "364b", "372b"}
		list_n_nan = m_table.listToSet {"37b", "53b"}
	elseif type == "nornork-eroan" then
		wikicode = table_nornork_eroan
		title = '{{{info}}} ― NOR-NORK paradigm'
		list_k_n = m_table.listToSet {"11b", "31b", "227b", "247b"}
	elseif type == "nornorinork_imp" then
		wikicode = table_nornorinork_imp
		title = '{{{info}}} ― NOR-NORI-NORK paradigm'
		list_k_n = m_table.listToSet {"i1sb", "i1pb", "i4sb", "i4pb", "i7sb", "i7pb", "i10sb", "i10pb"}
	else
		error('Unknown paradigm')
	end
	
	local function repl(param)
		if param == "info" then
			return mw.getContentLanguage():ucfirst(data.info or "")
		end
		local forms = data.forms[param]
		if not forms then
			return "&mdash;"
		end
		local ret = {}
		for key, subform in ipairs(forms) do
			if subform == "NA" then
				table.insert(ret, "")
			elseif list_k_n[param] then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "n"}))
			elseif list_n_nan[param] then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "nan"}))
			elseif list_ake_nake[param] then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "nake"}))
			elseif list_akeen_nakeen[param] then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "nakeen"}))
			elseif list_ala_nala[param] then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "nala"}))
			else
				table.insert(ret, m_links.full_link({lang = lang, term = subform}))
			end
		end
		return table.concat(ret, "<br/>")
	end
	
	if title ~= nil then
		wikicode = mw.getCurrentFrame():expandTemplate{ 
			title = 'inflection-table-top', 
			args = {
				title = title,
				palette = 'custom',
				tall = 'yes',
				class = 'wide',
				['vs-category'] = view_switcher and 'personal forms' or '',
			}
		} .. wikicode .. mw.getCurrentFrame():expandTemplate{ 
			title = 'inflection-table-bottom',
		}
	end
	
	return mw.ustring.gsub(wikicode, "{{{[#!]?([a-z0-9|]+)}}}", repl)
end

function get_nornori_wikicode(type)
	local code = ""
	local newmood = ""
	local moodheader = ""
	local newtense = ""
	local tensenum = 0
	
	--should slots for archaic forms be shown?
	local show_arch = false
	local list_show_arch = m_table.listToSet {"nornori-ibili", "nornori-izan"}
	if list_show_arch[type] then
		show_arch = true
	end
	local list_show_subhyp = m_table.listToSet {"nornori-izan"}
	local show_subhyp = false
	if list_show_subhyp[type] then
		show_subhyp = true
	end
	
	--default data
	local indic_list = {
		{true, 1, "pres", "present", table_nornori_tense}, 
		{true, 1, "past", "past", table_nornori_tense}, 
		{true, 0, "cond", "conditional", table_nornori_tense},
		{true, 1, "hcons", '<abbr title="hypothetic consequence">hyp. cons.</abbr>', table_nornori_tense}, 
		{true, 0, "pcons", '<abbr title="past consequence">past cons.</abbr>', table_nornori_tense}, 
		{show_arch, 0, "fut", "future<sup>1</sup>", table_nornori_tense}
	}
	local potential_list = {
		{true, 0, "potpres", "present", table_nornori_tense}, 
		{true, 0, "pothypo", "hypothetic", table_nornori_tense},
		{true, 0, "potpast", "past", table_nornori_tense}, 
		{show_arch, 0, "clcond", '<abbr title="close conditional">close cond.</abbr><sup>1</sup>', table_nornori_tense},
		{show_arch, 0, "dicond", '<abbr title="distal conditional">distal cond.</abbr><sup>1</sup>', table_nornori_tense},
	}
	local subjunctive_list = {
		{true, 0, "subpres", "present", table_nornori_tense}, 
		{show_subhyp, 0, "subhyp", "hypothetic", table_nornori_tense},
		{true, 0, "subpast", "past", table_nornori_tense}, 
	}
	local imperative_list = {
		{true, 1, "imp", "present", table_nornori_third_only_tense}, 
	}
	local moods = {
		{"blue", table_nornori_header_indic, indic_list},
		{"yellow", table_nornori_header_potential, potential_list}, 
		{"green", table_nornori_header_subjunctive, subjunctive_list}, 
		{"orange", table_nornori_header_imperative, imperative_list}, 
	}
	
	--case-by-case data
	if type == "nornori-jariatu" then
		indic_list[1][5] = table_nornori_third_only_tense
		indic_list[2][5] = table_nornori_third_only_tense
		indic_list[4][5] = table_nornori_third_only_tense
	elseif type == "nornori-ibili" then
		show_arch = true
		--indicative
		indic_list[3][2] = 1
		indic_list[5][2] = 1
		indic_list[6][2] = 2
		indic_list[6][6] = "potential present"
		--potential
		potential_list[1][2] = 1
		potential_list[2][2] = 2
		potential_list[2][6] = "indicative hypothetic consequence"
		potential_list[3][2] = 2
		potential_list[3][6] = "indicative past consequence"
		potential_list[4][2] = 1
		potential_list[5][2] = 2
		potential_list[5][6] = "indicative conditional"
		--subjunctive and imperative
		subjunctive_list[1][2] = 1
		subjunctive_list[3][2] = 2
		subjunctive_list[3][6] = "indicative past"
		imperative_list[1][5] = table_nornori_second_third_tense
	elseif type == "nornori-izan" then
		show_arch = true
		--indicative
		indic_list[3][2] = 1
		indic_list[5][2] = 1
		indic_list[6][2] = 0
		--potential
		potential_list[1][2] = 1
		potential_list[2][2] = 1
		potential_list[3][2] = 1
		potential_list[4][2] = 1
		potential_list[5][2] = 1
		--subjunctive and imperative
		subjunctive_list[1][2] = 3
		subjunctive_list[1][3] = {"subpres", "subpresla"}
		subjunctive_list[1][5] = table_nornori_double
		subjunctive_list[2][2] = 1
		subjunctive_list[3][2] = 3
		subjunctive_list[3][3] = {"subpast", "subpastla"}
		subjunctive_list[3][5] = table_nornori_double
		imperative_list[1][5] = table_nornori_second_third_tense
	end
	
	--generate the code
	code = table_nornori_header
	for i, mood in ipairs(moods) do
		tensenum = 0
		for _, tense in ipairs(mood[3]) do
			if tense[1] == true then
				tensenum = tensenum + 1
			end
		end
		
		moodheader = mood[2]
		if type == "nornori-izan" then
			moodheader = mw.ustring.gsub(moodheader, "NOTES", "<sup>2</sup>")
		else
			moodheader = mw.ustring.gsub(moodheader, "NOTES", "")
		end
		moodheader = mw.ustring.gsub(moodheader, "COLLAPSED_ROW_NUM", tostring(tensenum*2))
		newmood = moodheader
		
		local expanded_row_num = 0
		for j, tense in ipairs(mood[3]) do
			if tense[1] == true then
				if tense[2] == 1 then
					newtense = mw.ustring.gsub(tense[5], "TENSE_NAME", tense[4])
					newtense = mw.ustring.gsub(newtense, "TENSE_ABBR", tense[3])
					expanded_row_num = expanded_row_num + 8
				elseif tense[2] == 0 then
					newtense = mw.ustring.gsub(table_empty_tense, "TENSE_NAME", tense[4])
					expanded_row_num = expanded_row_num + 2
				elseif tense[2] == 2 then
					newtense = mw.ustring.gsub(table_see_tense, "TENSE_NAME", tense[4])
					newtense = mw.ustring.gsub(newtense, "SEE_TENSE", tense[6])
					expanded_row_num = expanded_row_num + 2
				elseif tense[2] == 3 then
					newtense = mw.ustring.gsub(tense[5], "TENSE_NAME", tense[4])
					newtense = mw.ustring.gsub(newtense, "TENSE_ABBR2", tense[3][2])
					newtense = mw.ustring.gsub(newtense, "TENSE_ABBR1", tense[3][1])
					expanded_row_num = expanded_row_num + 8
				end
				newtense = mw.ustring.gsub(newtense, "COLOR", mood[1])
				newmood = newmood .. newtense
				if j < tensenum then
					newmood = newmood .. table_tense_sep
				end
			end
		end
		newmood = mw.ustring.gsub(newmood, "EXPANDED_ROW_NUM", tostring(expanded_row_num))
		
		code = code .. newmood
		if i < #moods then
			code = code .. table_mood_sep
		end
	end
	
	--add notes if necessary to the bottom of the table
	if string.find(code, "<sup>2</sup>") then
		code = code .. table_edin_ending
	elseif string.find(code, "<sup>1</sup>") then
		code = code .. table_archaic_ending
	end
	
	return code
end

--modular tables
table_nornori_header = [=[
|- class="inflection-table-grey"
| colspan="2" rowspan="2" class="vsToggleElement" | Expand all NORI forms
! colspan="7" | NOR (absolutive)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NORI (dative)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd sg inf.</abbr>
! <abbr title="third-person singular">3rd sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd sg</abbr>
! <abbr title="second-person plural">2nd pl</abbr>
! <abbr title="third-person plural">3rd pl</abbr>
|- class="inflection-table-grey"
! colspan="2" | Mood / Tense
! class="secondary" | ni
! class="secondary" | hi
! class="secondary" | hura
! class="secondary" | gu
! class="secondary" | zu
! class="secondary" | zuek
! class="secondary" | haiek
]=]

table_archaic_ending = [=[
|-
| colspan="9" style="text-align:left" |1. Archaic or dialectal.
]=]

table_edin_ending = [=[
|-
| colspan="9" style="text-align:left" |1. Archaic or dialectal.<br/>2. Forms belong to the reconstructed verb *edin.
]=]

table_nornori_header_indic = [=[
|- class="inflection-table-blue"
! class="vsShow outer" rowspan="COLLAPSED_ROW_NUM" | indicative
! class="vsHide outer" rowspan="EXPANDED_ROW_NUM"  | indicative
]=]

table_nornori_header_potential = [=[
|- class="inflection-table-yellow"
! class="vsShow outer" rowspan="COLLAPSED_ROW_NUM" | potentialNOTES
! class="vsHide outer" rowspan="EXPANDED_ROW_NUM"  | potentialNOTES
]=]

table_nornori_header_subjunctive = [=[
|- class="inflection-table-green"
! class="vsShow outer" rowspan="COLLAPSED_ROW_NUM" | subjunctiveNOTES
! class="vsHide outer" rowspan="EXPANDED_ROW_NUM"  | subjunctiveNOTES
]=]

table_nornori_header_imperative = [=[
|- class="inflection-table-orange"
! class="vsShow outer" rowspan="COLLAPSED_ROW_NUM" | imperativeNOTES
! class="vsHide outer" rowspan="EXPANDED_ROW_NUM"  | imperativeNOTES
]=]

table_tense_sep = [=[
|-
! class="vsHide separator" colspan="999" | 
]=]

table_mood_sep = [=[
|-
! class="separator" colspan="999" | 
]=]

table_nornori_tense = [=[
|- class="vsHide inflection-table-COLOR" 
! rowspan="7" | TENSE_NAME
| ―
| {{{TENSE_ABBRhiniri}}}
| {{{TENSE_ABBRhuraniri}}}
| ―
| {{{TENSE_ABBRzuniri}}}
| {{{TENSE_ABBRzuekniri}}}
| {{{TENSE_ABBRhaiekniri}}}
| class="secondary" | niri
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| {{{TENSE_ABBRnihirim}}}{{{TENSE_ABBRnihirif}}}
| ―
| {{{TENSE_ABBRhurahirim}}}{{{TENSE_ABBRhurahirif}}}
| {{{TENSE_ABBRguhirim}}}{{{TENSE_ABBRguhirif}}}
| ―
| ―
| {{{TENSE_ABBRhaiekhirim}}}{{{TENSE_ABBRhaiekhirif}}}
| class="secondary" | hiri
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-COLOR" 
! class="vsShow" | TENSE_NAME
| {{{TENSE_ABBRnihari}}}
| {{{TENSE_ABBRhihari}}}
| {{{TENSE_ABBRhurahari}}}
| {{{TENSE_ABBRguhari}}}
| {{{TENSE_ABBRzuhari}}}
| {{{TENSE_ABBRzuekhari}}}
| {{{TENSE_ABBRhaiekhari}}}
| class="secondary" | hari
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| ―
| {{{TENSE_ABBRhiguri}}}
| {{{TENSE_ABBRhuraguri}}}
| ―
| {{{TENSE_ABBRzuguri}}}
| {{{TENSE_ABBRzuekguri}}}
| {{{TENSE_ABBRhaiekguri}}}
| class="secondary" | guri
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-COLOR"
| {{{TENSE_ABBRnizuri}}}
| ―
| {{{TENSE_ABBRhurazuri}}}
| {{{TENSE_ABBRguzuri}}}
| ―
| ―
| {{{TENSE_ABBRhaiekzuri}}}
| class="secondary" | zuri
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-COLOR"
| {{{TENSE_ABBRnizuei}}}
| ―
| {{{TENSE_ABBRhurazuei}}}
| {{{TENSE_ABBRguzuei}}}
| ―
| ―
| {{{TENSE_ABBRhaiekzuei}}}
| class="secondary" | zuei
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-COLOR"
| {{{TENSE_ABBRnihaiei}}}
| {{{TENSE_ABBRhihaiei}}}
| {{{TENSE_ABBRhurahaiei}}}
| {{{TENSE_ABBRguhaiei}}}
| {{{TENSE_ABBRzuhaiei}}}
| {{{TENSE_ABBRzuekhaiei}}}
| {{{TENSE_ABBRhaiekhaiei}}}
| class="secondary" | haiei
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
]=]

table_nornori_double = [=[
|- class="vsHide inflection-table-COLOR" 
! rowspan="7" | TENSE_NAME
| ―
| {{{TENSE_ABBR1hiniri}}},<br/>{{{TENSE_ABBR2hiniri}}}
| {{{TENSE_ABBR1huraniri}}},<br/>{{{TENSE_ABBR2huraniri}}}
| ―
| {{{TENSE_ABBR1zuniri}}},<br/>{{{TENSE_ABBR2zuniri}}}
| {{{TENSE_ABBR1zuekniri}}},<br/>{{{TENSE_ABBR2zuekniri}}}
| {{{TENSE_ABBR1haiekniri}}},<br/>{{{TENSE_ABBR2haiekniri}}}
| class="secondary" | niri
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| {{{TENSE_ABBR1nihirim}}}{{{TENSE_ABBR1nihirif}}},<br/>{{{TENSE_ABBR2nihirim}}}{{{TENSE_ABBR2nihirif}}}
| ―
| {{{TENSE_ABBR1hurahirim}}}{{{TENSE_ABBR1hurahirif}}},<br/>{{{TENSE_ABBR2hurahirim}}}{{{TENSE_ABBR2hurahirif}}}
| {{{TENSE_ABBR1guhirim}}}{{{TENSE_ABBR1guhirif}}},<br/>{{{TENSE_ABBR2guhirim}}}{{{TENSE_ABBR2guhirif}}}
| ―
| ―
| {{{TENSE_ABBR1haiekhirim}}}{{{TENSE_ABBR1haiekhirif}}},<br/>{{{TENSE_ABBR2haiekhirim}}}{{{TENSE_ABBR2haiekhirif}}}
| class="secondary" | hiri
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-COLOR" 
! class="vsShow" | TENSE_NAME
| {{{TENSE_ABBR1nihari}}},<br/>{{{TENSE_ABBR2nihari}}}
| {{{TENSE_ABBR1hihari}}},<br/>{{{TENSE_ABBR2hihari}}}
| {{{TENSE_ABBR1hurahari}}},<br/>{{{TENSE_ABBR2hurahari}}}
| {{{TENSE_ABBR1guhari}}},<br/>{{{TENSE_ABBR2guhari}}}
| {{{TENSE_ABBR1zuhari}}},<br/>{{{TENSE_ABBR2zuhari}}}
| {{{TENSE_ABBR1zuekhari}}},<br/>{{{TENSE_ABBR2zuekhari}}}
| {{{TENSE_ABBR1haiekhari}}},<br/>{{{TENSE_ABBR2haiekhari}}}
| class="secondary" | hari
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| ―
| {{{TENSE_ABBR1higuri}}},<br/>{{{TENSE_ABBR2higuri}}}
| {{{TENSE_ABBR1huraguri}}},<br/>{{{TENSE_ABBR2huraguri}}}
| ―
| {{{TENSE_ABBR1zuguri}}},<br/>{{{TENSE_ABBR2zuguri}}}
| {{{TENSE_ABBR1zuekguri}}},<br/>{{{TENSE_ABBR2zuekguri}}}
| {{{TENSE_ABBR1haiekguri}}},<br/>{{{TENSE_ABBR2haiekguri}}}
| class="secondary" | guri
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-COLOR" 
| {{{TENSE_ABBR1nizuri}}},<br/>{{{TENSE_ABBR2nizuri}}}
| ―
| {{{TENSE_ABBR1hurazuri}}},<br/>{{{TENSE_ABBR2hurazuri}}}
| {{{TENSE_ABBR1guzuri}}},<br/>{{{TENSE_ABBR2guzuri}}}
| ―
| ―
| {{{TENSE_ABBR1haiekzuri}}},<br/>{{{TENSE_ABBR2haiekzuri}}}
| class="secondary" | zuri
! class="nowrap" | <abbr title="seTENSE_ABBR1-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| {{{TENSE_ABBR1nizuei}}},<br/>{{{TENSE_ABBR2nizuei}}}
| ―
| {{{TENSE_ABBR1hurazuei}}},<br/>{{{TENSE_ABBR2hurazuei}}}
| {{{TENSE_ABBR1guzuei}}},<br/>{{{TENSE_ABBR2guzuei}}}
| ―
| ―
| {{{TENSE_ABBR1haiekzuei}}},<br/>{{{TENSE_ABBR2haiekzuei}}}
| class="secondary" | zuei
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-COLOR" 
| {{{TENSE_ABBR1nihaiei}}},<br/>{{{TENSE_ABBR2nihaiei}}}
| {{{TENSE_ABBR1hihaiei}}},<br/>{{{TENSE_ABBR2hihaiei}}}
| {{{TENSE_ABBR1hurahaiei}}},<br/>{{{TENSE_ABBR2hurahaiei}}}
| {{{TENSE_ABBR1guhaiei}}},<br/>{{{TENSE_ABBR2guhaiei}}}
| {{{TENSE_ABBR1zuhaiei}}},<br/>{{{TENSE_ABBR2zuhaiei}}}
| {{{TENSE_ABBR1zuekhaiei}}},<br/>{{{TENSE_ABBR2zuekhaiei}}}
| {{{TENSE_ABBR1haiekhaiei}}},<br/>{{{TENSE_ABBR2haiekhaiei}}}
| class="secondary" | haiei
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
]=]

table_nornori_third_only_tense = [=[
|- class="vsHide inflection-table-COLOR" 
! rowspan="7" | TENSE_NAME
| ―
| ―
| {{{TENSE_ABBRhuraniri}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekniri}}}
| class="secondary" | niri
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| ―
| ―
| {{{TENSE_ABBRhurahirim}}}{{{TENSE_ABBRhurahirif}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekhirim}}}{{{TENSE_ABBRhaiekhirif}}}
| class="secondary" | hiri
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-COLOR"
! class="vsShow" | TENSE_NAME
| ―
| ―
| {{{TENSE_ABBRhurahari}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekhari}}}
| class="secondary" | hari
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| ―
| {{{TENSE_ABBRhuraguri}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekguri}}}
| class="secondary" | guri
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| ―
| {{{TENSE_ABBRhurazuri}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekzuri}}}
| class="secondary" | zuri
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-COLOR" 
| ―
| ―
| {{{TENSE_ABBRhurazuei}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekzuei}}}
| class="secondary" | zuei
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| ―
| {{{TENSE_ABBRhurahaiei}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekhaiei}}}
| class="secondary" | haiei
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
]=]

table_nornori_second_third_tense = [=[
|- class="vsHide inflection-table-COLOR" 
! rowspan="7" | TENSE_NAME
| ―
| {{{TENSE_ABBRhiniri}}}
| {{{TENSE_ABBRhuraniri}}}
| ―
| {{{TENSE_ABBRzuniri}}}
| {{{TENSE_ABBRzuekniri}}}
| {{{TENSE_ABBRhaiekniri}}}
| class="secondary" | niri
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| ―
| {{{TENSE_ABBRhurahirim}}}{{{TENSE_ABBRhurahirif}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekhirim}}}{{{TENSE_ABBRhaiekhirif}}}
| class="secondary" | hiri
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-COLOR"
! class="vsShow" | TENSE_NAME
| ―
| {{{TENSE_ABBRhihari}}}
| {{{TENSE_ABBRhurahari}}}
| ―
| {{{TENSE_ABBRzuhari}}}
| {{{TENSE_ABBRzuekhari}}}
| {{{TENSE_ABBRhaiekhari}}}
| class="secondary" | hari
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| {{{TENSE_ABBRhiguri}}}
| {{{TENSE_ABBRhuraguri}}}
| ―
| {{{TENSE_ABBRzuguri}}}
| {{{TENSE_ABBRzuekguri}}}
| {{{TENSE_ABBRhaiekguri}}}
| class="secondary" | guri
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| ―
| {{{TENSE_ABBRhurazuri}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekzuri}}}
| class="secondary" | zuri
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| ―
| {{{TENSE_ABBRhurazuei}}}
| ―
| ―
| ―
| {{{TENSE_ABBRhaiekzuei}}}
| class="secondary" | zuei
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-COLOR"
| ―
| {{{TENSE_ABBRhihaiei}}}
| {{{TENSE_ABBRhurahaiei}}}
| ―
| {{{TENSE_ABBRzuhaiei}}}
| {{{TENSE_ABBRzuekhaiei}}}
| {{{TENSE_ABBRhaiekhaiei}}}
| class="secondary" | haiei
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
]=]

table_empty_tense = [=[
|- class="inflection-table-COLOR"
! TENSE_NAME
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan = "2" | 
]=]

table_see_tense = [=[
|- class="inflection-table-COLOR"
! TENSE_NAME
| colspan="7" | <div class="center">''same as SEE_TENSE''</div>
| class="secondary" colspan = "2" | 
]=]

--tables
table_nornork_eduki = [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-blue"
! rowspan="33" class="outer" | indicative
! rowspan="7" | present
| ―
| {{{1a}}}{{{1b}}}
| {{{2}}}
| ―
| {{{3}}}
| {{{4}}}
| {{{5}}}
| class="secondary" | ni
! <abbr title="first-person singular">1st sg</abbr>
|- class="inflection-table-blue"
| {{{6}}}
| ―
| {{{7}}}
| {{{8}}}
| ―
| ―
| {{{9}}}
| class="secondary" | hi
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
|- class="inflection-table-blue"
| {{{10}}}
| {{{11a}}}{{{11b}}}
| {{{12}}}
| {{{13}}}
| {{{14}}}
| {{{15}}}
| {{{16}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| ―
| {{{17a}}}{{{17b}}}
| {{{18}}}
| ―
| {{{19}}}
| {{{20}}}
| {{{21}}}
| class="secondary" | gu
! <abbr title="first-person plural">1st pl</abbr>
|- class="inflection-table-blue"
| {{{22}}}
| ―
| {{{23}}}
| {{{24}}}
| ―
| ―
| {{{25}}}
| class="secondary" | zu
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{26}}}
| ―
| {{{27}}}
| {{{28}}}
| ―
| ―
| {{{29}}}
| class="secondary" | zuek
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
|- class="inflection-table-blue"
| {{{30}}}
| {{{31a}}}{{{31b}}}
| {{{32}}}
| {{{33}}}
| {{{34}}}
| {{{35}}}
| {{{36}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-blue"
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="7" | past
| ―
| {{{37a}}}{{{37b}}}
| {{{38}}}
| ―
| {{{39}}}
| {{{40}}}
| {{{41}}}
| class="secondary" | ni
! <abbr title="first-person singular">1st sg</abbr>
|- class="inflection-table-blue"
| {{{42}}}
| ―
| {{{43}}}
| {{{44}}}
| ―
| ―
| {{{45}}}
| class="secondary" | hi
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
|- class="inflection-table-blue"
| {{{46}}}
| {{{47}}}
| {{{48}}}
| {{{49}}}
| {{{50}}}
| {{{51}}}
| {{{52}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| ―
| {{{53a}}}{{{53b}}}
| {{{54}}}
| ―
| {{{55}}}
| {{{56}}}
| {{{57}}}
| class="secondary" | gu
! <abbr title="first-person plural">1st pl</abbr>
|- class="inflection-table-blue"
| {{{58}}}
| ―
| {{{59}}}
| {{{60}}}
| ―
| ―
| {{{61}}}
| class="secondary" | zu
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{62}}}
| ―
| {{{63}}}
| {{{64}}}
| ―
| ―
| {{{65}}}
| class="secondary" | zuek
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
|- class="inflection-table-blue"
| {{{66}}}
| {{{67}}}
| {{{68}}}
| {{{69}}}
| {{{70}}}
| {{{71}}}
| {{{72}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="7" | conditional
| ―
| {{{73a}}}{{{73b}}}
| {{{74}}}
| ―
| {{{75}}}
| {{{76}}}
| {{{77}}}
| class="secondary" | ni
! <abbr title="first-person singular">1st sg</abbr>
|- class="inflection-table-blue"
| {{{78}}}
| ―
| {{{79}}}
| {{{80}}}
| ―
| ―
| {{{81}}}
| class="secondary" | hi
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
|- class="inflection-table-blue"
| {{{82}}}
| {{{83}}}
| {{{84}}}
| {{{85}}}
| {{{86}}}
| {{{87}}}
| {{{88}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| ―
| {{{89a}}}{{{89b}}}
| {{{90}}}
| ―
| {{{91}}}
| {{{92}}}
| {{{93}}}
| class="secondary" | gu
! <abbr title="first-person plural">1st pl</abbr>
|- class="inflection-table-blue"
| {{{94}}}
| ―
| {{{95}}}
| {{{96}}}
| ―
| ―
| {{{97}}}
| class="secondary" | zu
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{98}}}
| ―
| {{{99}}}
| {{{100}}}
| ―
| ―
| {{{101}}}
| class="secondary" | zuek
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
|- class="inflection-table-blue"
| {{{102}}}
| {{{103}}}
| {{{104}}}
| {{{105}}}
| {{{106}}}
| {{{107}}}
| {{{108}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="7" | <abbr title="hypothetic consequence">hypothetic cons.</abbr>
| ―
| {{{109a}}}{{{109b}}}
| {{{110}}}
| ―
| {{{111}}}
| {{{112}}}
| {{{113}}}
| class="secondary" | ni
! <abbr title="first-person singular">1st sg</abbr>
|- class="inflection-table-blue"
| {{{114}}}
| ―
| {{{115}}}
| {{{116}}}
| ―
| ―
| {{{117}}}
| class="secondary" | hi
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
|- class="inflection-table-blue"
| {{{118}}}
| {{{119}}}
| {{{120}}}
| {{{121}}}
| {{{122}}}
| {{{123}}}
| {{{124}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| ―
| {{{125a}}}{{{125b}}}
| {{{126}}}
| ―
| {{{127}}}
| {{{128}}}
| {{{129}}}
| class="secondary" | gu
! <abbr title="first-person plural">1st pl</abbr>
|- class="inflection-table-blue"
| {{{130}}}
| ―
| {{{131}}}
| {{{132}}}
| ―
| ―
| {{{133}}}
| class="secondary" | zu
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{134}}}
| ―
| {{{135}}}
| {{{136}}}
| ―
| ―
| {{{137}}}
| class="secondary" | zuek
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
|- class="inflection-table-blue"
| {{{138}}}
| {{{139}}}
| {{{140}}}
| {{{141}}}
| {{{142}}}
| {{{143}}}
| {{{144}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! <abbr title="past consequence">past cons.</abbr>
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-yellow"
! rowspan="3" class="outer" | potential
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! hypothetic
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-green"
! rowspan="2" class="outer" | subjunctive
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-green"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-orange"
! rowspan="2" class="outer" | imperative
! rowspan="2" | present
| ―
| {{{364a}}}{{{364b}}}
| {{{365}}}
| ―
| {{{366}}}
| {{{367}}}
| {{{368}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-orange"
| ―
| {{{372a}}}{{{372b}}}
| {{{373}}}
| ―
| {{{374}}}
| {{{375}}}
| {{{376}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
]=]

table_nornork_eroan = [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-blue"
! rowspan="12" class="outer" | indicative
! rowspan="2" | present
| {{{10}}}
| {{{11a}}}{{{11b}}}
| {{{12}}}
| {{{13}}}
| {{{14}}}
| {{{15}}}
| {{{16}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{30}}}
| {{{31a}}}{{{31b}}}
| {{{32}}}
| {{{33}}}
| {{{34}}}
| {{{35}}}
| {{{36}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="2" | past
| {{{46}}}
| {{{47}}}
| {{{48}}}
| {{{49}}}
| {{{50}}}
| {{{51}}}
| {{{52}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{66}}}
| {{{67}}}
| {{{68}}}
| {{{69}}}
| {{{70}}}
| {{{71}}}
| {{{72}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! conditional
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="2" | <abbr title="hypothetic consequence">hypothetic cons.</abbr>
| {{{118}}}
| {{{119}}}
| {{{120}}}
| {{{121}}}
| {{{122}}}
| {{{123}}}
| {{{124}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{138}}}
| {{{139}}}
| {{{140}}}
| {{{141}}}
| {{{142}}}
| {{{143}}}
| {{{144}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! <abbr title="past consequence">past cons.</abbr>
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-yellow"
! rowspan="3" class="outer" | potential
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! hypothetic
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-green"
! rowspan="2" class="outer" | subjunctive
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-green"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-orange"
! rowspan="2" class="outer" | imperative
! rowspan="2" | present
| —
| {{{227a}}}{{{227b}}}
| {{{228}}}
| —
| {{{230}}}
| {{{231}}}
| {{{232}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-orange"
| —
| —
| {{{248}}}
| —
| —
| —
| {{{252}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
]=]

table_nornorinork_imp = [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NORI (dative)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-orange"
! rowspan="4" class="outer" | imperative
! rowspan="4" | present
| ―
| {{{i1sa}}}{{{i1sb}}}<br/>{{{i1pa}}}{{{i1pb}}}
| ―
| ―
| {{{i2s}}}<br/>{{{i2p}}}
| {{{i3s}}}<br/>{{{i3p}}}
| ―
| class="secondary" | niri
! <abbr title="first-person singular">1st sg</abbr>
|- class="inflection-table-orange"
| ―
| {{{i4sa}}}{{{i4sb}}}<br/>{{{i4pa}}}{{{i4pb}}}
| ―
| ―
| {{{i5s}}}<br/>{{{i5p}}}
| {{{i6s}}}<br/>{{{i6p}}}
| ―
| class="secondary" | hari
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-orange"
| ―
| {{{i7sa}}}{{{i7sb}}}<br/>{{{i7pa}}}{{{i7pb}}}
| ―
| ―
| {{{i8s}}}<br/>{{{i8p}}}
| {{{i9s}}}<br/>{{{i9p}}}
| ―
| class="secondary" | guri
! <abbr title="first-person plural">1st pl</abbr>
|- class="inflection-table-orange"
| ―
| {{{i10sa}}}{{{i10sb}}}<br/>{{{i10pa}}}{{{i10pb}}}
| ―
| ―
| {{{i11s}}}<br/>{{{i11p}}}
| {{{i12s}}}<br/>{{{i12p}}}
| ―
| class="secondary" | haiei
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
]=]

----------------------------
----------------------------

--nor-nork
function export.make_table_nornork(data)
	local function repl(param)
		if param == "info" then
			return mw.getContentLanguage():ucfirst(data.info or "")
		end
		
		local forms = data.forms[param]
		if not forms then
			if param == "11b" or param == "31b" or param == "227b" or param == "247b" then
				return ""
			else
				return "&mdash;"
			end
		end
		
		local ret = {}
		for key, subform in ipairs(forms) do
			if param == "11b" or param == "31b" or param == "227b" or param == "247b" then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "n"}))
			else
				table.insert(ret, m_links.full_link({lang = lang, term = subform}))
			end
		end
		return table.concat(ret, "<br/>")
	end
	
	local wikicode = mw.getCurrentFrame():expandTemplate{ 
		title = 'inflection-table-top', 
		args = {
			title = '{{{info}}} ― NOR-NORK paradigm',
			palette = 'custom',
			tall = 'yes',
			class = 'wide',
		}
	} .. [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-blue"
! rowspan="13" class="outer" | indicative
! rowspan="2" | present
| {{{10}}}
| {{{11a}}}{{{11b}}}
| {{{12}}}
| {{{13}}}
| {{{14}}}
| {{{15}}}
| {{{16}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{30}}}
| {{{31a}}}{{{31b}}}
| {{{32}}}
| {{{33}}}
| {{{34}}}
| {{{35}}}
| {{{36}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="2" | past
| {{{46}}}
| {{{47}}}
| {{{48}}}
| {{{49}}}
| {{{50}}}
| {{{51}}}
| {{{52}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{66}}}
| {{{67}}}
| {{{68}}}
| {{{69}}}
| {{{70}}}
| {{{71}}}
| {{{72}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="2" | conditional
| {{{82}}}
| {{{83}}}
| {{{84}}}
| {{{85}}}
| {{{86}}}
| {{{87}}}
| {{{88}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{102}}}
| {{{103}}}
| {{{104}}}
| {{{105}}}
| {{{106}}}
| {{{107}}}
| {{{108}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! rowspan="2" | <abbr title="hypothetic consequence">hypothetic cons.</abbr>
| {{{118}}}
| {{{119}}}
| {{{120}}}
| {{{121}}}
| {{{122}}}
| {{{123}}}
| {{{124}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
| {{{138}}}
| {{{139}}}
| {{{140}}}
| {{{141}}}
| {{{142}}}
| {{{143}}}
| {{{144}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! <abbr title="past consequence">past cons.</abbr>
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-yellow"
! rowspan="3" class="outer" | potential
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! hypothetic
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-green"
! rowspan="2" class="outer" | subjunctive
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-green"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-orange"
! rowspan="2" class="outer" | imperative
! rowspan="2" | present
| {{{226}}}
| {{{227a}}}{{{227b}}}
| {{{228}}}
| {{{229}}}
| {{{230}}}
| {{{231}}}
| {{{232}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-orange"
| {{{246}}}
| {{{247a}}}{{{247b}}}
| {{{248}}}
| {{{249}}}
| {{{250}}}
| {{{251}}}
| {{{252}}}
| class="secondary" | haiek
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
]=] .. mw.getCurrentFrame():expandTemplate{ title = 'inflection-table-bottom' }

	return mw.ustring.gsub(wikicode, "{{{[#!]?([a-z0-9|]+)}}}", repl)
end

function export.make_table_nornork_sing(data)
	local function repl(param)
		if param == "info" then
			return mw.getContentLanguage():ucfirst(data.info or "")
		end
		
		local forms = data.forms[param]
		if not forms then
			if param == "11b" or param == "31b" or param == "227b" or param == "247b" then
				return ""
			else
				return "&mdash;"
			end
		end
		
		local ret = {}
		for key, subform in ipairs(forms) do
			if param == "11b" or param == "31b" or param == "227b" or param == "247b" then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "n"}))
			else
				table.insert(ret, m_links.full_link({lang = lang, term = subform}))
			end
		end
		return table.concat(ret, "<br/>")
	end
	
	local wikicode = mw.getCurrentFrame():expandTemplate{ 
		title = 'inflection-table-top', 
		args = {
			title = '{{{info}}} ― NOR-NORK paradigm',
			palette = 'custom',
			tall = 'yes',
			class = 'wide',
		}
	} .. [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-blue"
! rowspan="9" class="outer" | indicative
! present
| {{{10}}}
| {{{11a}}}{{{11b}}}
| {{{12}}}
| {{{13}}}
| {{{14}}}
| {{{15}}}
| {{{16}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! past
| {{{46}}}
| {{{47}}}
| {{{48}}}
| {{{49}}}
| {{{50}}}
| {{{51}}}
| {{{52}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|- class="inflection-table-blue"
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! conditional
| {{{82}}}
| {{{83}}}
| {{{84}}}
| {{{85}}}
| {{{86}}}
| {{{87}}}
| {{{88}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! <abbr title="hypothetic consequence">hypothetic cons.</abbr>
| {{{118}}}
| {{{119}}}
| {{{120}}}
| {{{121}}}
| {{{122}}}
| {{{123}}}
| {{{124}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
|-
! class="separator" colspan="10" | 
|- class="inflection-table-blue"
! <abbr title="past consequence">past cons.</abbr>
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-yellow"
! rowspan="3" class="outer" | potential
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! hypothetic
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-yellow"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-green"
! rowspan="2" class="outer" | subjunctive
! present
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|- class="inflection-table-green"
! past
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" colspan="2" |
|-
! class="separator" colspan="11" | 
|- class="inflection-table-orange"
! class="outer" | imperative
! present
| {{{226}}}
| {{{227a}}}{{{227b}}}
| {{{228}}}
| {{{229}}}
| {{{230}}}
| {{{231}}}
| {{{232}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
]=] .. mw.getCurrentFrame():expandTemplate{ title = 'inflection-table-bottom' }

	return mw.ustring.gsub(wikicode, "{{{[#!]?([a-z0-9|]+)}}}", repl)
end

function export.make_table_nornork_imp(data)
	local function repl(param)
		if param == "info" then
			return mw.getContentLanguage():ucfirst(data.info or "")
		end
		
		local forms = data.forms[param]
		if not forms then
			if param == "11b" or param == "31b" or param == "227b" or param == "247b" then
				return ""
			else
				return "&mdash;"
			end
		end
		
		local ret = {}
		for key, subform in ipairs(forms) do
			if param == "11b" or param == "31b" or param == "227b" or param == "247b" then
				if subform == "igorna" then
					table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "na"}))
				else
					table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "n"}))
				end
			else
				table.insert(ret, m_links.full_link({lang = lang, term = subform}))
			end
		end
		return table.concat(ret, "<br/>")
	end
	
	local wikicode = mw.getCurrentFrame():expandTemplate{ 
		title = 'inflection-table-top', 
		args = {
			title = '{{{info}}} ― NOR-NORK paradigm',
			palette = 'custom',
			tall = 'yes',
			class = 'wide',
		}
	} .. [=[
|- class="inflection-table-grey"
! colspan="2" rowspan="3" style="vertical-align:bottom;" | Mood / Tense
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd&nbsp;sg inf.</abbr>
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd&nbsp;sg</abbr>
! <abbr title="second-person plural">2nd&nbsp;pl</abbr>
! <abbr title="third-person plural">3rd&nbsp;pl</abbr>
|- class="inflection-table-grey"
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-orange"
! class="outer" | imperative
! present
| {{{226}}}
| {{{227a}}}{{{227b}}}
| {{{228}}}
| {{{229}}}
| {{{230}}}
| {{{231}}}
| {{{232}}}
| class="secondary" | hura
! <abbr title="third-person singular">3rd&nbsp;sg</abbr>
]=] .. mw.getCurrentFrame():expandTemplate{ title = 'inflection-table-bottom' }

	return mw.ustring.gsub(wikicode, "{{{[#!]?([a-z0-9|]+)}}}", repl)
end


function export.make_table_nornork_complete(data)
	local function repl(param)
		if param == "info" then
			return mw.getContentLanguage():ucfirst(data.info or "")
		end
		
		local forms = data.forms[param]
		if not forms then
			return "&mdash;"
		end
		
		local ret = {}
		for key, subform in ipairs(forms) do
			if param == "1b" or param == "11b" or param == "17b" or param == "31b" or param == "73b" or param == "89b" or param == "109b" or param == "125b" or 
			param == "181b" or param == "191b" or param == "197b" or param == "211b" or param == "217b" or param == "233b" or
			param == "361b" or param == "364b" or param == "369b" or param == "372b" or param == "377b" or param == "393b" or param == "413b" or param == "423b" or
			param == "429b" or param == "443b" or param == "479b" or param == "465b" or param == "459b" or param == "449b" then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "n"}))
			elseif param == "37b" or param == "53b" or param == "253b" or param == "269b" or param == "289b" or param == "299b" or param == "305b" or param == "319b"
			or param == "325b" or param == "341b" or param == "145b" or param == "161b" then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "nan"}))
			elseif param == "319bla" or param == "305bla" or param == "299bla" or param == "289bla" or param == "341bla" or param == "325bla" then
				table.insert(ret, "/" .. m_links.full_link({lang = lang, term = subform, alt = "nala"}))
			else
				table.insert(ret, m_links.full_link({lang = lang, term = subform}))
			end
		end
		return table.concat(ret, "<br/>")
	end
	
	local wikicode = mw.getCurrentFrame():expandTemplate{ 
		title = 'inflection-table-top', 
		args = {
			title = '{{{info}}} ― NOR-NORK paradigm',
			palette = 'custom',
			tall = 'yes',
			class = 'wide',
			['vs-category'] = 'personal forms',
		}
	} .. [=[
|- class="inflection-table-grey"
| colspan="2" rowspan="2" class="vsToggleElement" | Expand all NOR forms
! colspan="7" | NORK (ergative)
! colspan="2" rowspan="3" style="vertical-align:bottom" | NOR (absolutive)
|- class="inflection-table-grey"
! <abbr title="first-person singular">1st sg</abbr>
! <abbr title="second-person singular informal">2nd sg inf.</abbr>
! <abbr title="third-person singular">3rd sg</abbr>
! <abbr title="first-person plural">1st pl</abbr>
! <abbr title="second-person singular">2nd sg</abbr>
! <abbr title="second-person plural">2nd pl</abbr>
! <abbr title="third-person plural">3rd pl</abbr>
|- class="inflection-table-grey"
! colspan="2" style="vertical-align:bottom;" | Mood / Tense
! class="secondary" | nik
! class="secondary" | hik
! class="secondary" | hark
! class="secondary" | guk 
! class="secondary" | zuk
! class="secondary" | zuek
! class="secondary" | haiek
|- class="inflection-table-blue"
! rowspan="12" class="vsShow outer" | indicative
! rowspan="48" class="vsHide outer" | indicative
! rowspan="8" class="vsHide" | present
|- class="vsHide inflection-table-blue" 
|  ―
| {{{1a}}}{{{1b}}}
| {{{2}}}
|  ―
|  {{{3}}}
|  {{{4}}}
|  {{{5}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{6}}}
| ―
| {{{7}}}
| {{{8}}}
| ―
| ―
| {{{9}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-blue"
! class="vsShow" | present
| {{{10}}}
| {{{11a}}}{{{11b}}}
| {{{12}}}
| {{{13}}}
| {{{14}}}
| {{{15}}}
| {{{16}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-blue"
| ―
| {{{17a}}}{{{17b}}}
| {{{18}}}
| ―
| {{{19}}}
| {{{20}}}
| {{{21}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-blue"
| {{{22}}}
| ―
| {{{23}}}
| {{{24}}}
| ―
| ―
| {{{25}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{26}}}
| ―
| {{{27}}}
| {{{28}}}
| ―
| ―
| {{{29}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-blue"
| {{{30}}}
| {{{31a}}}{{{31b}}}
| {{{32}}}
| {{{33}}}
| {{{34}}}
| {{{35}}}
| {{{36}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="999" | 
|- class="vsHide inflection-table-blue"
! rowspan="7" | past
| ―
| {{{37a}}}{{{37b}}}
| {{{38}}}
| ―
| {{{39}}}
| {{{40}}}
| {{{41}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-blue" 
| {{{42}}}
| ―
| {{{43}}}
| {{{44}}}
| ―
| ―
| {{{45}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-blue" 
! class="vsShow" | past
| {{{46}}}
| {{{47}}}
| {{{48}}}
| {{{49}}}
| {{{50}}}
| {{{51}}}
| {{{52}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-blue" 
| ―
| {{{53a}}}{{{53b}}}
| {{{54}}}
| ―
| {{{55}}}
| {{{56}}}
| {{{57}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-blue" 
| {{{58}}}
| ―
| {{{59}}}
| {{{60}}}
| ―
| ―
| {{{61}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-blue" 
| {{{62}}}
| ―
| {{{63}}}
| {{{64}}}
| ―
| ―
| {{{65}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-blue" 
| {{{66}}}
| {{{67}}}
| {{{68}}}
| {{{69}}}
| {{{70}}}
| {{{71}}}
| {{{72}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-blue" 
! rowspan="7" | conditional
| ―
| {{{73a}}}{{{73b}}}
| {{{74}}}
| ―
| {{{75}}}
| {{{76}}}
| {{{77}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{78}}}
| ―
| {{{79}}}
| {{{80}}}
| ―
| ―
| {{{81}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-blue"
! class="vsShow" | conditional
| {{{82}}}
| {{{83}}}
| {{{84}}}
| {{{85}}}
| {{{86}}}
| {{{87}}}
| {{{88}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-blue"
| ―
| {{{89a}}}{{{89b}}}
| {{{90}}}
| ―
| {{{91}}}
| {{{92}}}
| {{{93}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-blue"
| {{{94}}}
| ―
| {{{95}}}
| {{{96}}}
| ―
| ―
| {{{97}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{98}}}
| ―
| {{{99}}}
| {{{100}}}
| ―
| ―
| {{{101}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-blue"
| {{{102}}}
| {{{103}}}
| {{{104}}}
| {{{105}}}
| {{{106}}}
| {{{107}}}
| {{{108}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-blue"
! rowspan="7" | <abbr title="hypothetic consequence">hyp. cons.</abbr>
| ―
| {{{109a}}}{{{109b}}}
| {{{110}}}
| ―
| {{{111}}}
| {{{112}}}
| {{{113}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{114}}}
| ―
| {{{115}}}
| {{{116}}}
| ―
| ―
| {{{117}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-blue"
! class="vsShow" | <abbr title="hypothetic consequence">hyp. cons.</abbr>
| {{{118}}}
| {{{119}}}
| {{{120}}}
| {{{121}}}
| {{{122}}}
| {{{123}}}
| {{{124}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-blue"
| ―
| {{{125a}}}{{{125b}}}
| {{{126}}}
| ―
| {{{127}}}
| {{{128}}}
| {{{129}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-blue"
| {{{130}}}
| ―
| {{{131}}}
| {{{132}}}
| ―
| ―
| {{{133}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{134}}}
| ―
| {{{135}}}
| {{{136}}}
| ―
| ―
| {{{137}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-blue"
| {{{138}}}
| {{{139}}}
| {{{140}}}
| {{{141}}}
| {{{142}}}
| {{{143}}}
| {{{144}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-blue" 
! rowspan="7" | <abbr title="past consequence">past cons.</abbr>
| ―
| {{{145a}}}{{{145b}}}
| {{{146}}}
| ―
| {{{147}}}
| {{{148}}}
| {{{149}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-blue"
| {{{150}}}
| ―
| {{{151}}}
| {{{152}}}
| ―
| ―
| {{{153}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-blue"
! class="vsShow" | <abbr title="past consequence">past cons.</abbr>
| {{{154}}}
| {{{155}}}
| {{{156}}}
| {{{157}}}
| {{{158}}}
| {{{159}}}
| {{{160}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-blue" 
| ―
| {{{161a}}}{{{161b}}}
| {{{162}}}
| ―
| {{{163}}}
| {{{164}}}
| {{{165}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-blue" 
| {{{166}}}
| ―
| {{{167}}}
| {{{168}}}
| ―
| ―
| {{{169}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-blue"  
| {{{170}}}
| ―
| {{{171}}}
| {{{172}}}
| ―
| ―
| {{{173}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-blue" 
| {{{174}}}
| {{{175}}}
| {{{176}}}
| {{{177}}}
| {{{178}}}
| {{{179}}}
| {{{180}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-blue" 
! rowspan="7" | future<sup>1</sup>
| ―
| {{{413a}}}{{{413b}}}
| {{{414}}}
| ―
| {{{415}}}
| {{{416}}}
| {{{417}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-blue" 
| {{{418}}}
| ―
| {{{419}}}
| {{{420}}}
| ―
| ―
| {{{421}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-blue"
! class="vsShow" | future<sup>1</sup>
| {{{422}}}
| {{{423a}}}{{{423b}}}
| {{{424}}}
| {{{425}}}
| {{{426}}}
| {{{427}}}
| {{{428}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-blue" 
| ―
| {{{429a}}}{{{429b}}}
| {{{430}}}
| ―
| {{{431}}}
| {{{432}}}
| {{{433}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-blue" 
| {{{434}}}
| ―
| {{{435}}}
| {{{436}}}
| ―
| ―
| {{{437}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-blue" 
| {{{438}}}
| ―
| {{{439}}}
| {{{440}}}
| ―
| ―
| {{{441}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-blue" 
| {{{442}}}
| {{{443a}}}{{{443b}}}
| {{{444}}}
| {{{445}}}
| {{{446}}}
| {{{447}}}
| {{{448}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="separator" colspan="999" | 
|- class="inflection-table-yellow"
! rowspan="10" class="vsShow outer" | potential<sup>2</sup>
! rowspan="40" class="vsHide outer" | potential<sup>2</sup>
|- class="vsHide inflection-table-yellow"
! rowspan="7" | present
| ―
| {{{181a}}}{{{181b}}}
| {{{182}}}
| ―
| {{{183}}}
| {{{184}}}
| {{{185}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{186}}}
| ―
| {{{187}}}
| {{{188}}}
| ―
| ―
| {{{189}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-yellow"
! class="vsShow" | present
| {{{190}}}
| {{{191a}}}{{{191b}}}
| {{{192}}}
| {{{193}}}
| {{{194}}}
| {{{195}}}
| {{{196}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-yellow" 
| ―
| {{{197a}}}{{{197b}}}
| {{{198}}}
| ―
| {{{199}}}
| {{{200}}}
| {{{201}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-yellow"
| {{{202}}}
| ―
| {{{203}}}
| {{{204}}}
| ―
| ―
| {{{205}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-yellow"
| {{{206}}}
| ―
| {{{207}}}
| {{{208}}}
| ―
| ―
| {{{209}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-yellow"
| {{{210}}}
| {{{211a}}}{{{211b}}}
| {{{212}}}
| {{{213}}}
| {{{214}}}
| {{{215}}}
| {{{216}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-yellow"
! rowspan="7" | hypothetic
| ―
| {{{217a}}}{{{217b}}}
| {{{218}}}
| ―
| {{{219}}}
| {{{220}}}
| {{{221}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{222}}}
| ―
| {{{223}}}
| {{{224}}}
| ―
| ―
| {{{225}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-yellow"
! class="vsShow" | hypothetic
| {{{226}}}
| {{{227}}}
| {{{228}}}
| {{{229}}}
| {{{230}}}
| {{{231}}}
| {{{232}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-yellow" 
| ―
| {{{233a}}}{{{233b}}}
| {{{234}}}
| ―
| {{{235}}}
| {{{236}}}
| {{{237}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{238}}}
| ―
| {{{239}}}
| {{{240}}}
| ―
| ―
| {{{241}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{242}}}
| ―
| {{{243}}}
| {{{244}}}
| ―
| ―
| {{{245}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{246}}}
| {{{247}}}
| {{{248}}}
| {{{249}}}
| {{{250}}}
| {{{251}}}
| {{{252}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-yellow"
! rowspan="7" | past
| ―
| {{{253a}}}{{{253b}}}
| {{{254}}}
| ―
| {{{255}}}
| {{{256}}}
| {{{257}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{258}}}
| ―
| {{{259}}}
| {{{260}}}
| ―
| ―
| {{{261}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-yellow"
! class="vsShow" | past
| {{{262}}}
| {{{263}}}
| {{{264}}}
| {{{265}}}
| {{{266}}}
| {{{267}}}
| {{{268}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-yellow" 
| ―
| {{{269a}}}{{{269b}}}
| {{{270}}}
| ―
| {{{271}}}
| {{{272}}}
| {{{273}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{274}}}
| ―
| {{{275}}}
| {{{276}}}
| ―
| ―
| {{{277}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{278}}}
| ―
| {{{279}}}
| {{{280}}}
| ―
| ―
| {{{281}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{282}}}
| {{{283}}}
| {{{284}}}
| {{{285}}}
| {{{286}}}
| {{{287}}}
| {{{288}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-yellow"
! rowspan="7" | <abbr title="close conditional">close cond.</abbr><sup>1</sup>
| ―
| {{{449a}}}{{{449b}}}
| {{{450}}}
| ―
| {{{451}}}
| {{{452}}}
| {{{453}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-yellow" 
| {{{454}}}
| ―
| {{{455}}}
| {{{456}}}
| ―
| ―
| {{{457}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-yellow"
! class="vsShow" | <abbr title="close conditional">close cond.</abbr><sup>1</sup>
| {{{458}}}
| {{{459a}}}{{{459b}}}
| {{{460}}}
| {{{461}}}
| {{{462}}}
| {{{463}}}
| {{{464}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-yellow" 
| ―
| {{{465a}}}{{{465b}}}
| {{{466}}}
| ―
| {{{467}}}
| {{{468}}}
| {{{469}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-yellow"
| {{{470}}}
| ―
| {{{471}}}
| {{{472}}} 
| ―
| ―
| {{{473}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-yellow"
| {{{474}}}
| ―
| {{{475}}}
| {{{476}}}
| ―
| ―
| {{{477}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-yellow"
| {{{478}}}
| {{{479a}}}{{{479b}}}
| {{{480}}}
| {{{481}}}
| {{{482}}}
| {{{483}}}
| {{{484}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-yellow"
! rowspan="7" | <abbr title="distal conditional">distal cond.</abbr><sup>1</sup>
| ―
| {{{377a}}}{{{377b}}}
| {{{378}}}
| ―
| {{{379}}}
| {{{380}}}
| {{{381}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-yellow"
| {{{382}}}
| ―
| {{{383}}}
| {{{384}}}
| ―
| ―
| {{{385}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-yellow"
! class="vsShow" | <abbr title="distal conditional">distal cond.</abbr><sup>1</sup>
| {{{386}}}
| {{{387}}}
| {{{388}}}
| {{{389}}}
| {{{390}}}
| {{{391}}}
| {{{392}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-yellow"
| ―
| {{{393a}}}{{{393b}}}
| {{{394}}}
| ―
| {{{395}}}
| {{{396}}}
| {{{397}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-yellow"
| {{{398}}}
| ―
| {{{399}}}
| {{{400}}} 
| ―
| ―
| {{{401}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-yellow"
| {{{402}}}
| ―
| {{{403}}}
| {{{404}}}
| ―
| ―
| {{{405}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-yellow"
| {{{406}}}
| {{{407}}}
| {{{408}}}
| {{{409}}}
| {{{410}}}
| {{{411}}}
| {{{412}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="separator" colspan="999" | 
|- class="inflection-table-green"
! rowspan="6" class="vsShow outer" | subjunctive<sup>2</sup>
! rowspan="24" class="vsHide outer" | subjunctive<sup>2</sup>
|- class="vsHide inflection-table-green" 
! rowspan="7" | present
| ―
| {{{289a}}}{{{289b}}},<br/>{{{289ala}}}{{{289bla}}}
| {{{290}}},<br/>{{{290la}}}
| ―
| {{{291}}},<br/>{{{291la}}}
| {{{292}}},<br/>{{{292la}}}
| {{{293}}},<br/>{{{293la}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-green" 
| {{{294}}},<br/>{{{294la}}}
| ―
| {{{295}}},<br/>{{{295la}}}
| {{{296}}},<br/>{{{296la}}}
| ―
| ―
| {{{297}}}<br/>{{{297la}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-green" 
! class="vsShow" | present
| {{{298}}},<br/>{{{298la}}}
| {{{299a}}}{{{299b}}},<br/>{{{299ala}}}{{{299bla}}}
| {{{300}}},<br/>{{{300la}}}
| {{{301}}},<br/>{{{301la}}}
| {{{302}}},<br/>{{{302la}}}
| {{{303}}},<br/>{{{303la}}}
| {{{304}}},<br/>{{{304la}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-green" 
| ―
| {{{305a}}}{{{305b}}},<br/>{{{305ala}}}{{{305bla}}}
| {{{306}}},<br/>{{{306la}}}
| ―
| {{{307}}},<br/>{{{307la}}}
| {{{308}}},<br/>{{{308la}}}
| {{{309}}},<br/>{{{309la}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-green" 
| {{{310}}},<br/>{{{310la}}}
| ―
| {{{311}}},<br/>{{{311la}}}
| {{{312}}},<br/>{{{312la}}}
| ―
| ―
| {{{313}}},<br/>{{{313la}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-green" 
| {{{314}}},<br/>{{{314la}}}
| ―
| {{{315}}},<br/>{{{315la}}}
| {{{316}}},<br/>{{{316la}}}
| ―
| ―
| {{{317}}},<br/>{{{317la}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-green" 
| {{{318}}},<br/>{{{318la}}}
| {{{319a}}}{{{319b}}},<br/>{{{319ala}}}{{{319bla}}}
| {{{320}}},<br/>{{{320la}}}
| {{{321}}},<br/>{{{321la}}}
| {{{322}}},<br/>{{{322la}}}
| {{{323}}},<br/>{{{323la}}}
| {{{324}}},<br/>{{{324la}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-green"
! rowspan="7" | hypothetic
| ―
| {{{325a}}}{{{325b}}}
| {{{326}}}
| ―
| {{{327}}}
| {{{328}}}
| {{{329}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-green" 
| {{{330}}}
| ―
| {{{331}}}
| {{{332}}}
| ―
| ―
| {{{333}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-green"
! class="vsShow" | hypothetic
| {{{334}}}
| {{{335}}}
| {{{336c}}}
| {{{337}}}
| {{{338}}}
| {{{339}}}
| {{{340c}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-green"  
| ―
| {{{341a}}}{{{341b}}}
| {{{342}}}
| ―
| {{{343}}}
| {{{344}}}
| {{{345}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-green"  
| {{{346}}}
| ―
| {{{347}}}
| {{{348}}}
| ―
| ―
| {{{349}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-green"  
| {{{350}}}
| ―
| {{{351}}}
| {{{352}}}
| ―
| ―
| {{{353}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-green"  
| {{{354}}}
| {{{355}}}
| {{{356c}}}
| {{{357}}}
| {{{358}}}
| {{{359}}}
| {{{360c}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
! class="vsHide separator" colspan="11" | 
|- class="vsHide inflection-table-green"
! rowspan="7" | past
| ―
| {{{325a}}}{{{325b}}},<br/>{{{325ala}}}{{{325bla}}}
| {{{326}}},<br/>{{{326la}}}
| ―
| {{{327}}},<br/>{{{327la}}}
| {{{328}}},<br/>{{{328la}}}
| {{{329}}},<br/>{{{329la}}}
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-green" 
| {{{330}}},<br/>{{{330la}}}
| ―
| {{{331}}},<br/>{{{331la}}}
| {{{332}}},<br/>{{{332la}}}
| ―
| ―
| {{{333}}},<br/>{{{333la}}}
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-green"
! class="vsShow" | past
| {{{334}}},<br/>{{{334la}}}
| {{{335}}},<br/>{{{335la}}}
| {{{336}}},<br/>{{{336la}}}
| {{{337}}},<br/>{{{337la}}}
| {{{338}}},<br/>{{{338la}}}
| {{{339}}},<br/>{{{339la}}}
| {{{340}}},<br/>{{{340la}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-green"  
| ―
| {{{341a}}}{{{341b}}},<br/>{{{341ala}}}{{{341bla}}}
| {{{342}}},<br/>{{{342la}}}
| ―
| {{{343}}},<br/>{{{343la}}}
| {{{344}}},<br/>{{{344la}}}
| {{{345}}},<br/>{{{345la}}}
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-green"  
| {{{346}}},<br/>{{{346la}}}
| ―
| {{{347}}},<br/>{{{347la}}}
| {{{348}}},<br/>{{{348la}}}
| ―
| ―
| {{{349}}},<br/>{{{349la}}}
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-green"  
| {{{350}}},<br/>{{{350la}}}
| ―
| {{{351}}},<br/>{{{351la}}}
| {{{352}}},<br/>{{{352la}}}
| ―
| ―
| {{{353}}},<br/>{{{353la}}}
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-green"  
| {{{354}}},<br/>{{{354la}}}
| {{{355}}},<br/>{{{355la}}}
| {{{356}}},<br/>{{{356la}}}
| {{{357}}},<br/>{{{357la}}}
| {{{358}}},<br/>{{{358la}}}
| {{{359}}},<br/>{{{359la}}}
| {{{360}}},<br/>{{{360la}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
|-
| class="separator" colspan="10" |
|- class="inflection-table-orange" 
! class="outer vsHide" rowspan="8" | imperative<sup>2</sup>
! class="outer vsShow" rowspan="2" | imperative<sup>2</sup>
|- class="vsHide inflection-table-orange" 
! rowspan="7" | present
| ―
| {{{361a}}}{{{361b}}}
| ―
| ―
| {{{362}}}
| {{{363}}}
| ―
| class="secondary" | ni
! class="nowrap" | <abbr title="first-person singular">1st sg</abbr>
|- class="vsHide inflection-table-orange"
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" | hi
! class="nowrap" | <abbr title="second-person singular informal">2nd sg inf.</abbr>
|- class="inflection-table-orange"
! class="vsShow" | present
| ―
| {{{364a}}}{{{364b}}}
| {{{365}}}
| ―
| {{{366}}}
| {{{367}}}
| {{{368}}}
| class="secondary" | hura
! class="nowrap" | <abbr title="third-person singular">3rd sg</abbr>
|- class="vsHide inflection-table-orange"
| ―
| {{{369a}}}{{{369b}}}
| ―
| ―
| {{{370}}}
| {{{371}}}
| ―
| class="secondary" | gu
! class="nowrap" | <abbr title="first-person plural">1st pl</abbr>
|- class="vsHide inflection-table-orange"
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" | zu
! class="nowrap" | <abbr title="second-person singular">2nd sg</abbr>
|- class="vsHide inflection-table-orange"
| ―
| ―
| ―
| ―
| ―
| ―
| ―
| class="secondary" | zuek
! class="nowrap" | <abbr title="second-person plural">2nd pl</abbr>
|- class="vsHide inflection-table-orange"
| ―
| {{{372a}}}{{{372b}}}
| {{{373}}}
| ―
| {{{374}}}
| {{{375}}}
| {{{376}}}
| class="secondary" | haiek
! class="nowrap" | <abbr title="third-person plural">3rd pl</abbr>
]=] .. mw.getCurrentFrame():expandTemplate{ 
			title = 'inflection-table-bottom',
			args = {
				notes = '1. Archaic or dialectal. <br/>  2. Forms belong to the reconstructed verb *ezan.'
			}
		}

	return mw.ustring.gsub(wikicode, "{{{[#!]?([a-z0-9|]+)}}}", repl)
end

return export