Module:number list/data/sjn

local export = {}

local numbers = {} export.numbers = numbers

numbers[0] = {cardinal = "lad"} numbers[1] = {cardinal = "min", ordinal = "minui"} numbers[2] = {cardinal = "tâd", ordinal = "tadui", fractional = "perin"} numbers[3] = {cardinal = {"nêl", "neledh"}, ordinal = "nelui"} numbers[4] = {cardinal = "canad", ordinal = "canthui", fractional = "canath"} numbers[5] = {cardinal = "leben", ordinal = "levnui"} numbers[6] = {cardinal = "eneg", ordinal = "enchui"} numbers[7] = {cardinal = "odog", ordinal = "othui"} numbers[8] = {cardinal = "toloth", ordinal = "tollui"} numbers[9] = {cardinal = "neder", ordinal = "nedrui"}

numbers[10] = {cardinal = "pae", ordinal = "paenui"} numbers[11] = {cardinal = "minib"} numbers[12] = {cardinal = "ýneg"} numbers[13] = {cardinal = "paenel"} numbers[14] = {cardinal = "paegan"} numbers[15] = {cardinal = "paeleben"} numbers[16] = {cardinal = "paeneg"} numbers[17] = {cardinal = "paenodog"} numbers[18] = {cardinal = "paedolodh"} numbers[19] = {cardinal = "paeneder"}

numbers[20] = {cardinal = "taphaen"} numbers[30] = {cardinal = "nelphaen"} numbers[40] = {cardinal = "caphaen"} numbers[50] = {cardinal = "lephaen"} numbers[60] = {cardinal = "enephaen"} numbers[70] = {cardinal = "odophaen"} numbers[80] = {cardinal = "tolophaen"} numbers[90] = {cardinal = "nederphaen"}

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

numbers[100] = {cardinal = "haran"} numbers[1000] = {cardinal = "meneg"}

local twstyle = "font-family: 'Tengwar Annatar', 'Tengwar Eldamar', 'Tengwar Noldor', 'Tengwar Parmaite', 'Tengwar Formal', 'Tengwar Elfica', 'Tengwar Sindarin', 'Tengwar Quenya', 'Tengwar Gothika'" local digits = {'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', '÷', 'ø', 'ù', 'ú', 'û'} digits[0] = 'ð' for key,value in pairs(numbers) do	if key < 10 then numbers[key].numeral = ' '..digits[key]..' ' else local inp = tostring(key) local outp = {} for i = 0, #inp do	   	local pos = #inp + 1 - i	    	table.insert(outp, digits[tonumber(string.sub(inp, pos, pos))]) end numbers[key].numeral = ' '..table.concat(outp)..' ' end end

return export