এই মডিউলের জন্য মডিউল:number list/data/mt/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে

local export = {numbers = {}}

local numbers = export.numbers

export.additional_number_types = {
	{ key = "attr_cardinal", display = "Attributive cardinal", after = "cardinal" }
}

numbers[0] = {
	cardinal = "żero",
}

numbers[1] = {
	cardinal = "wieħed",
	ordinal = "ewwel",
	adverbial = "darba",
}

numbers[2] = {
	cardinal = "tnejn",
	attr_cardinal = { "żewġ<q:short form>", "żewġt<q:long form>", "ġiex<q:short form>", "ġiext<q:long form>" },
	ordinal = "tieni",
	fractional = "nofs",
	adverbial = "darbtejn",
}

numbers[3] = {
	cardinal = "tlieta",
	attr_cardinal = { "tliet<q:short form>", "tlitt<q:long form>" },
	ordinal = "tielet",
	fractional = "terz",
	adverbial = "[[tliet]] [[darba|darbiet]]",
}

numbers[4] = {
	cardinal = "erbgħa",
	attr_cardinal = { "erba'<q:short form>", "erbat<q:long form>" },
	ordinal = "raba'",
	fractional = { "kwart", "robbu<q:obsolete>" },
	adverbial = "[[erba']] [[darba|darbiet]]",
}

numbers[5] = {
	cardinal = "ħamsa",
	attr_cardinal = { "ħames<q:short form>", "ħamest<q:long form>" },
	ordinal = "ħames",
	fractional = "kwint",
	adverbial = "[[ħames]] [[darba|darbiet]]",
}

numbers[6] = {
	cardinal = "sitta",
	attr_cardinal = { "sitt" },
	ordinal = "sitt",
	adverbial = "[[sitt]] [[darba|darbiet]]",
}

numbers[7] = {
	cardinal = "sebgħa",
	attr_cardinal = { "seba'<q:short form>", "sebat<q:long form>" },
	ordinal = "seba'",
	adverbial = "[[seba']] [[darba|darbiet]]",
}

numbers[8] = {
	cardinal = "tmienja",
	attr_cardinal = { "tmien<q:short form>", "tmint<q:long form>" },
	ordinal = "tmien",
	adverbial = "[[tmien]] [[darba|darbiet]]",
}

numbers[9] = {
	cardinal = "disgħa",
	attr_cardinal = { "disa'<q:short form>", "disat<q:long form>" },
	ordinal = "disa'",
	adverbial = "[[disa']] [[darba|darbiet]]",
}

numbers[10] = {
	cardinal = "għaxra",
	attr_cardinal = { "għaxar<q:short form>", "għaxart<q:long form>" },
	ordinal = "għaxar",
	adverbial = "[[għaxar]] [[darba|darbiet]]",
}

numbers[11] = {
	cardinal = "ħdax",
	attr_cardinal = { "ħdax-il" },
	adverbial = "[[ħdax-il]] [[darba]]",
}

numbers[12] = {
	cardinal = "tnax",
	attr_cardinal = { "tnax-il" },
	adverbial = "[[tnax-il]] [[darba]]",
}

numbers[13] = {
	cardinal = "tlettax",
	attr_cardinal = { "tlettax-il" },
	adverbial = "[[tlettax-il]] [[darba]]",
}

numbers[14] = {
	cardinal = "erbatax",
	attr_cardinal = { "erbatax-il" },
	adverbial = "[[erbatax-il]] [[darba]]",
}

numbers[15] = {
	cardinal = "ħmistax",
	attr_cardinal = { "ħmistax-il" },
	adverbial = "[[ħmistax-il]] [[darba]]",
}

numbers[16] = {
	cardinal = "sittax",
	attr_cardinal = { "sittax-il" },
	adverbial = "[[sittax-il]] [[darba]]",
}

numbers[17] = {
	cardinal = "sbatax",
	attr_cardinal = { "sbatax-il" },
	adverbial = "[[sbatax-il]] [[darba]]",
}

numbers[18] = {
	cardinal = "tmintax",
	attr_cardinal = { "tmintax-il" },
	adverbial = "[[tmintax-il]] [[darba]]",
}

numbers[19] = {
	cardinal = "dsatax",
	attr_cardinal = { "dsatax-il" },
	adverbial = "[[dsatax-il]] [[darba]]",
}

local function unpack_ipairs(t)
	local i = 0
	return function()
		i = i + 1
		if t[i] then
			return i, unpack(t[i])
		end
	end
end

for i, tens_cardinal in unpack_ipairs {
	{ "għoxrin"},
	{ "tletin" },
	{ "erbgħin" },
	{ "ħamsin" },
	{ "sittin" },
	{ "sebgħin" },
	{ "tmenin" },
	{ "disgħin" },
} do
	local tens = (i + 1) * 10
	numbers[tens] = {
		cardinal = tens_cardinal,
	}
	local suffix = (" u " .. tens_cardinal)
	local one_word_cardinal = suffix:sub(-1) ~= " "
	for ones = 1, 9 do
		local ones_cardinal = numbers[ones].cardinal
		local cardinal = ones_cardinal .. suffix
		local number = {}
		numbers[tens + ones] = number
		number.cardinal = cardinal
	end
end

numbers[100] = {
	cardinal = "mija",
	attr_cardinal = "mitt",
}

numbers[200] = {
	cardinal = "mitejn",
}

numbers[300] = {
	cardinal = "tliet mija",
	attr_cardinal = "[[tliet]] [[mitt]]",
}

numbers[400] = {
	cardinal = "erba' mija",
	attr_cardinal = "[[erba']] [[mitt]]",
}

numbers[500] = {
	cardinal = "ħames mija",
	attr_cardinal = "[[ħames]] [[mitt]]",
}

numbers[600] = {
	cardinal = "sitt mija",
	attr_cardinal = "[[sitt]] [[mitt]]",
}

numbers[700] = {
	cardinal = "seba' mija",
	attr_cardinal = "[[seba']] [[mitt]]",
}

numbers[800] = {
	cardinal = "tmien mija",
	attr_cardinal = "[[tmien]] [[mitt]]",
}

numbers[900] = {
	cardinal = "disa' mija",
	attr_cardinal = "[[disa']] [[mitt]]",
}

numbers[1000] = {
	cardinal = "elf",
}

numbers[2000] = {
	cardinal = "elfejn",
}

numbers[3000] = {
	cardinal = "tlitt elef",
}

numbers[4000] = {
	cardinal = "erbat elef",
}

numbers[5000] = {
	cardinal = "ħamest elef",
}

numbers[6000] = {
	cardinal = "sitt elef",
}

numbers[7000] = {
	cardinal = "sebat elef",
}

numbers[8000] = {
	cardinal = "tmint elef",
}

numbers[9000] = {
	cardinal = "disat elef",
}

numbers[10000] = {
	cardinal = "għaxart elef",
}

numbers[11000] = {
	cardinal = "ħdax-il elf",
}

numbers[12000] = {
	cardinal = "tnax-il elf",
}

numbers[13000] = {
	cardinal = "tlettax-il elf",
}

numbers[14000] = {
	cardinal = "erbatax-il elf",
}

numbers[15000] = {
	cardinal = "ħmistax-il elf",
}

numbers[16000] = {
	cardinal = "sittax-il elf",
}

numbers[17000] = {
	cardinal = "sbatax-il elf",
}

numbers[18000] = {
	cardinal = "tmintax-il elf",
}

numbers[19000] = {
	cardinal = "dsatax-il elf",
}

numbers[100000] = {
	cardinal = "mitt elf",
}

numbers[1000000] = {
	cardinal = "miljun",
}

numbers[1000000000] = {
	cardinal = "biljun",
}

numbers["1000000000000"] = {
	cardinal = "triljun",
}

numbers["1000000000000000"] = {
	cardinal = "kwadriljun",
}

numbers["1000000000000000000"] = {
	cardinal = "kwintiljun",
}

numbers["1000000000000000000000"] = {
	cardinal = "sistiljun",
}

return export