Icona de documentació de mòdul Documentació del mòdul[mostra] [modifica] [refresca]

A continuació es mostra la documentació transclosa de la subpàgina /ús. [salta a la caixa de codi]


Mòdul de suport per Mòdul:la-adj. Genera les dades de diferents declinacions d’adjectius.

local decl = {}

local m_utilities = require("Module:utilitats")
NAMESPACE = NAMESPACE or mw.title.getCurrentTitle().nsText
PAGENAME = PAGENAME or mw.title.getCurrentTitle().text

decl["1i2"] = function(data, args)
	local title = {}
	table.insert(title, "[[Viccionari:Primera declinació en llatí|Primera]] i [[Viccionari:Segona declinació en llatí|segona declinació]]")
	if data.num == "s" then
		table.insert(title, "sense plural")
	elseif data.num == "p" then
		table.insert(title, "sense singular")
	end	
	
	local stem = data.forma2:gsub("a$", "")
	if data.forma1:find("ic$") then
		stem = data.forma1:gsub("ic$", "")
	end
	local voc_no_e = nil
	local er = false
	local am = "am"
	
	if data.forma1 == stem .. "us" then
		table.insert(title, "-us, -a, -um")
	elseif data.forma1 == stem and stem:match("er$") then
		table.insert(title, "-er, -era, -erum")
		voc_no_e = data.forma1
	elseif data.forma1:gsub("er$", "r") == stem then
		table.insert(title, "-er, -ra, -rum")
		voc_no_e = data.forma1
	elseif data.forma1 == stem .. "os" then
		table.insert(title, "tipus grec")
		am = "ān"
	end
	
	local ae = data.subtype:find("ae") and "æ" or "ae"
	
	data.forms["nom_s_m"] = data.forma1
	data.forms["nom_s_f"] = data.forma2
	data.forms["nom_s_n"] = data.forma3
	data.forms["nom_p_m"] = stem .. "ī"
	data.forms["nom_p_f"] = stem .. ae
	data.forms["nom_p_n"] = stem .. "a"
	
	data.forms["voc_s_m"] = voc_no_e or (stem .. "e")
	data.forms["voc_s_f"] = data.forma2
	data.forms["voc_s_n"] = data.forma3
	data.forms["voc_p_m"] = stem .. "ī"
	data.forms["voc_p_f"] = stem .. ae
	data.forms["voc_p_n"] = stem .. "a"
	
	data.forms["ac_s_m"] = stem .. "um"
	data.forms["ac_s_f"] = stem .. am
	data.forms["ac_s_n"] = data.forma3
	data.forms["ac_p_m"] = stem .. "ōs"
	data.forms["ac_p_f"] = stem .. "ās"
	data.forms["ac_p_n"] = stem .. "a"
	
	data.forms["gen_s_m"] = stem .. "ī"
	data.forms["gen_s_f"] = stem .. ae
	data.forms["gen_s_n"] = stem .. "ī"
	data.forms["gen_p_m"] = stem .. "ōrum"
	data.forms["gen_p_f"] = stem .. "ārum"
	data.forms["gen_p_n"] = stem .. "ōrum"
	
	data.forms["dat_s_m"] = stem .. "ō"
	data.forms["dat_s_f"] = stem .. ae
	data.forms["dat_s_n"] = stem .. "ō"
	data.forms["dat_p_m"] = stem .. "īs"
	data.forms["dat_p_f"] = stem .. "īs"
	data.forms["dat_p_n"] = stem .. "īs"
	
	data.forms["abl_s_m"] = stem .. "ō"
	data.forms["abl_s_f"] = stem .. "ā"
	data.forms["abl_s_n"] = stem .. "ō"
	data.forms["abl_p_m"] = stem .. "īs"
	data.forms["abl_p_f"] = stem .. "īs"
	data.forms["abl_p_n"] = stem .. "īs"
	
	irregulars = m_utilities.llista({"ūllus", "nūllus", "uter", "sōlus", "neuter", "alius", "ūnus", "tōtus", "alter", "iste"})
	if irregulars[data.forma1] then
		table.insert(title, "amb genitiu i datiu irregulars")
		data.forms["gen_s_m"] = stem .. "īus"
		data.forms["gen_s_f"] = stem .. "īus"
		data.forms["gen_s_n"] = stem .. "īus"
		data.forms["dat_s_m"] = stem .. "ī"
		data.forms["dat_s_f"] = stem .. "ī"
		data.forms["dat_s_n"] = stem .. "ī"
	end
	if stem == "me" then
		table.insert(title, "amb vocatiu irregular")
		
		data.forms["voc_s_m"] = "mī"
	end
	if data.subtype:find("%-n%-") or data.subtype:find("%-n$") or data.subtype:find("^n%-") or data.subtype:find("^n$") then
		table.insert(title, "amb canvi de consonant")
		for key,val in pairs(data.forms) do
			data.forms[key] = mw.ustring.gsub(val,"m$","n")
		end
	end
	if data.subtype == "ic" then
		table.insert(title, "amb genitiu \"-ius\" i datiu \"-ic\"")
		
		local oc = "oc"
		local oc_macron = "ōc"
		if stem == "ill" then
			oc = "uc"
			oc_macron = "ūc"
		end
		
		data.forms["nom_s_m"] = stem .. "ic"
		data.forms["nom_s_f"] = stem .. "aec"
		data.forms["nom_s_n"] = stem .. oc
		data.forms["nom_p_n"] = stem .. "aec"
		
		data.forms["gen_s_m"] = {stem .. "uius", stem .. "ujus"}
		data.forms["gen_s_f"] = {stem .. "uius", stem .. "ujus"}
		data.forms["gen_s_n"] = {stem .. "uius", stem .. "ujus"}
		
		data.forms["dat_s_m"] = stem .. "uic"
		data.forms["dat_s_f"] = stem .. "uic"
		data.forms["dat_s_n"] = stem .. "uic"
		
		data.forms["ac_s_m"] = stem .. "unc"
		data.forms["ac_s_f"] = stem .. "anc"
		data.forms["ac_s_n"] = stem .. oc
		data.forms["ac_p_n"] = stem .. "aec"
		
		data.forms["abl_s_m"] = stem .. "ōc"
		data.forms["abl_s_f"] = stem .. "āc"
		data.forms["abl_s_n"] = stem .. oc_macron
		
		data.voc = false
	end
	
	data.title = table.concat(title, ", ") .. "."
	
	--table.insert(data.categories, "Latin first and second declension adjectives")
end

decl["3-1"] = function(data, args)
	local title = {}
	table.insert(title, "[[Viccionari:Tercera declinació en llatí|Tercera declinació]], nominatiu d'una terminació")
	if data.num == "s" then
		table.insert(title, "sense plural")
	elseif data.num == "p" then
		table.insert(title, "sense singular")
	end
	
	local stem1 = args.stem1 or data.forma2:gsub("is$", "")
	local stem2 = args.stem2 or stem1

	data.forms["nom_s_m"] = data.forma1
	data.forms["nom_s_n"] = data.forma1
	data.forms["nom_p_m"] = stem2 .. "ēs"
	data.forms["nom_p_n"] = stem2 .. "ia"
	
	data.forms["voc_s_m"] = data.forma1
	data.forms["voc_s_n"] = data.forma1
	data.forms["voc_p_m"] = stem2 .. "ēs"
	data.forms["voc_p_n"] = stem2 .. "ia"
	
	data.forms["ac_s_m"] = stem2 .. "em"
	data.forms["ac_s_n"] = data.forma1
	data.forms["ac_p_m"] = stem2 .. "ēs"
	data.forms["ac_p_n"] = stem2 .. "ia"
	
	data.forms["gen_s_m"] = stem2 .. "is"
	data.forms["gen_s_n"] = stem2 .. "is"
	data.forms["gen_p_m"] = stem2 .. "ium"
	data.forms["gen_p_n"] = stem2 .. "ium"
	
	data.forms["dat_s_m"] = stem2 .. "ī"
	data.forms["dat_s_n"] = stem2 .. "ī"
	data.forms["dat_p_m"] = stem2 .. "ibus"
	data.forms["dat_p_n"] = stem2 .. "ibus"
	
	data.forms["abl_s_m"] = stem2 .. "ī"
	data.forms["abl_s_n"] = stem2 .. "ī"
	data.forms["abl_p_m"] = stem2 .. "ibus"
	data.forms["abl_p_n"] = stem2 .. "ibus"
	
	tema_cons = m_utilities.llista({"vetus", "dives", "pauper", "particeps", "princeps", "deses", "pubes", "sospes", "caelebs", "compos", "superstes"})
	if tema_cons[data.forma1] or data.forma1:match("or$") then
		table.insert(title, "tema en consonant")
		data.forms["nom_p_n"] = stem2 .. "a"
		data.forms["voc_p_n"] = stem2 .. "a"
		data.forms["ac_p_n"] = stem2 .. "a"
		data.forms["gen_p_m"] = stem2 .. "um"
		data.forms["gen_p_n"] = stem2 .. "um"
		data.forms["abl_s_m"] = stem2 .. "e"
		data.forms["abl_s_n"] = stem2 .. "e"
	end
	
	data.title = table.concat(title, ", ") .. "."
	
	--table.insert(data.categories, "Latin third declension adjectives")
end

decl["3-C"] = function(data, args)
	local stem1 = data.forma1
	local stem2 = data.forma1:gsub("or$", "ōr")
	
	--data.subtype = data.subtype and data.subtype .. "-par" or "par"
	decl["3-1"](data, {stem1=stem1, stem2=stem2})
	
	local title = {}
	table.insert(title, "[[Viccionari:Tercera declinació en llatí|Tercera declinació]], variant comparatiu")
	if data.num == "s" then
		table.insert(title, "sense plural")
	elseif data.num == "p" then
		table.insert(title, "sense singular")
	end
	data.title = table.concat(title, ", ") .. "."
	
	data.forms["nom_s_n"] = data.forma2
	data.forms["ac_s_n"] = data.forma2
	data.forms["voc_s_n"] = data.forma2
end

decl["3-P"] = function(data, args)
	local stem1 = args[1]
	local stem2 = args[2] or ""
	
	if stem2 ~= "" then
		table.insert(data.categories, "Kenny's testing category")
	end
	
	if not stem1 or stem1 == "" then
		if NAMESPACE ~= "" and NAMESPACE ~= "Appendix" then
			stem1 = "{{{1}}}"
			stem2 = "{{{2}}}"
		else
			error('Please provide a stem')
		end
	end
	
	decl["3-1"](data, {stem1, stem2})
	local title = {}
	if data.num == "sg" then
		table.insert(title, "no plural")
	elseif data.num == "pl" then
		table.insert(title, "no singular")
	end
	
	if stem2 == "" then
		stem2 = require("Module:la-utilities").make_stem2(stem1)
	end
	
	data.forms["abl_sg_m"] = {stem2 .. "e", "[[" .. stem2 .. "ī]]<sup style='color:red'>1</sup>"}
	data.forms["abl_sg_n"] = {stem2 .. "e", "[[" .. stem2 .. "ī]]<sup style='color:red'>1</sup>"}

	data.footnote = "<sup style='color: red'>1</sup>When used purely as an adjective."
end

decl["3-2"] = function(data, args)
	local title = {}
	table.insert(title, "[[Viccionari:Tercera declinació en llatí|Tercera declinació]], nominatiu amb dues terminacions")
	if data.num == "s" then
		table.insert(title, "sense plural")
	elseif data.num == "p" then
		table.insert(title, "sense singular")
	end
	
	local stem = data.forma1:gsub("is$", "")
	
	data.forms["nom_s_m"] = data.forma1
	data.forms["nom_s_n"] = data.forma2
	data.forms["nom_p_m"] = stem .. "ēs"
	data.forms["nom_p_n"] = stem .. "ia"
	
	data.forms["voc_s_m"] = data.forma1
	data.forms["voc_s_n"] = data.forma2
	data.forms["voc_p_m"] = stem .. "ēs"
	data.forms["voc_p_n"] = stem .. "ia"
	
	data.forms["ac_s_m"] = stem .. "em"
	data.forms["ac_s_n"] = stem .. "e"
	data.forms["ac_p_m"] = stem .. "ēs"
	data.forms["ac_p_n"] = stem .. "ia"
	
	data.forms["gen_s_m"] = stem .. "is"
	data.forms["gen_s_n"] = stem .. "is"
	data.forms["gen_p_m"] = stem .. "ium"
	data.forms["gen_p_n"] = stem .. "ium"
	
	data.forms["dat_s_m"] = stem .. "ī"
	data.forms["dat_s_n"] = stem .. "ī"
	data.forms["dat_p_m"] = stem .. "ibus"
	data.forms["dat_p_n"] = stem .. "ibus"
	
	data.forms["abl_s_m"] = stem .. "ī"
	data.forms["abl_s_n"] = stem .. "ī"
	data.forms["abl_p_m"] = stem .. "ibus"
	data.forms["abl_p_n"] = stem .. "ibus"
	
	data.title = table.concat(title, ", ") .. "."
	
	--table.insert(data.categories, "Latin third declension adjectives")
end

decl["3-3"] = function(data, args)
	local title = {}
	table.insert(title, "[[Viccionari:Tercera declinació en llatí|Tercera declinació]], nominatiu amb tres terminacions")
	if data.num == "s" then
		table.insert(title, "sense plural")
	elseif data.num == "p" then
		table.insert(title, "sense singular")
	end
	
	local stem = data.forma2:gsub("is$", "")

	data.forms["nom_s_m"] = data.forma1
	data.forms["nom_s_f"] = data.forma2
	data.forms["nom_s_n"] = data.forma3
	data.forms["nom_p_m"] = stem .. "ēs"
	data.forms["nom_p_f"] = stem .. "ēs"
	data.forms["nom_p_n"] = stem .. "ia"
	
	data.forms["voc_s_m"] = data.forma1
	data.forms["voc_s_f"] = data.forma2
	data.forms["voc_s_n"] = data.forma3
	data.forms["voc_p_m"] = stem .. "ēs"
	data.forms["voc_p_f"] = stem .. "ēs"
	data.forms["voc_p_n"] = stem .. "ia"
	
	data.forms["ac_s_m"] = stem .. "em"
	data.forms["ac_s_f"] = stem .. "em"
	data.forms["ac_s_n"] = stem .. "e"
	data.forms["ac_p_m"] = stem .. "ēs"
	data.forms["ac_p_f"] = stem .. "ēs"
	data.forms["ac_p_n"] = stem .. "ia"
	
	data.forms["gen_s_m"] = stem .. "is"
	data.forms["gen_s_f"] = stem .. "is"
	data.forms["gen_s_n"] = stem .. "is"
	data.forms["gen_p_m"] = stem .. "ium"
	data.forms["gen_p_f"] = stem .. "ium"
	data.forms["gen_p_n"] = stem .. "ium"
	
	data.forms["dat_s_m"] = stem .. "ī"
	data.forms["dat_s_f"] = stem .. "ī"
	data.forms["dat_s_n"] = stem .. "ī"
	data.forms["dat_p_m"] = stem .. "ibus"
	data.forms["dat_p_f"] = stem .. "ibus"
	data.forms["dat_p_n"] = stem .. "ibus"
	
	data.forms["abl_s_m"] = stem .. "ī"
	data.forms["abl_s_f"] = stem .. "ī"
	data.forms["abl_s_n"] = stem .. "ī"
	data.forms["abl_p_m"] = stem .. "ibus"
	data.forms["abl_p_f"] = stem .. "ibus"
	data.forms["abl_p_n"] = stem .. "ibus"
	
	data.title = table.concat(title, ", ") .. "."
	
	--table.insert(data.categories, "Latin third declension adjectives")
end

decl["irreg"] = function(data,args)
	if not args[1] or args[1] == "" then
		if NAMESPACE ~= "" and NAMESPACE ~= "Appendix" then
			args[1] = "plus"
		else
			error('please provide the adjective')
		end
	end
	if args[1] == "duo" then
		data.title = "Irregular, sense singular."
		data.num = "p"
		
		data.forms["nom_p_m"] = "duo"
		data.forms["nom_p_f"] = "duae"
		data.forms["nom_p_n"] = "duo"
		
		data.forms["gen_p_m"] = "duōrum"
		data.forms["gen_p_f"] = "duārum"
		data.forms["gen_p_n"] = "duōrum"
		
		data.forms["dat_p_m"] = "duōbus"
		data.forms["dat_p_f"] = "duābus"
		data.forms["dat_p_n"] = "duōbus"
		
		data.forms["ac_p_m"] = {"duōs", "duo"}
		data.forms["ac_p_f"] = "duās"
		data.forms["ac_p_n"] = "duo"
		
		data.forms["abl_p_m"] = "duōbus"
		data.forms["abl_p_f"] = "duābus"
		data.forms["abl_p_n"] = "duōbus"
		
		data.forms["voc_p_m"] = "duo"
		data.forms["voc_p_f"] = "duae"
		data.forms["voc_p_n"] = "duo"
		
		data.footnote = "Nota: El genitiu masculí i neutre també es poden trobar en la forma ''[[duum]]'' o ''[[duûm]]''."
		
	elseif args[1] == "mīlle" then
		data.forms["nom_s_m"] = "mīlle"
		data.forms["nom_p_m"] = {"mīlia", "mīllia"}
		
		data.forms["gen_s_m"] = "mīlle"
		data.forms["gen_p_m"] = {"mīlium", "mīllium"}
		
		data.forms["dat_s_m"] = "mīlle"
		data.forms["dat_p_m"] = {"mīlibus", "mīllibus"}
		
		data.forms["ac_s_m"] = "mīlle"
		data.forms["ac_p_m"] = {"mīlia", "mīllia"}
		
		data.forms["abl_s_m"] = "mīlle"
		data.forms["abl_p_m"] = {"mīlibus", "mīllibus"}
		
		data.forms["voc_s_m"] = "mīlle"
		data.forms["voc_p_m"] = {"mīlia", "mīllia"}
	elseif args[1] == "plus" then
		data.title = "Tercera declinació variant comparatiu amb formes irregulars o inexistents."
		
		data.forms["nom_s_m"] = ""
		data.forms["nom_s_n"] = "plūs"
		data.forms["nom_p_m"] = "plūrēs"
		data.forms["nom_p_n"] = "plūra"
		
		data.forms["gen_s_m"] = ""
		data.forms["gen_s_n"] = "plūris"
		data.forms["gen_p_m"] = "plūrium"
		data.forms["gen_p_n"] = "plūrium"
		
		data.forms["dat_s_m"] = ""
		data.forms["dat_s_n"] = ""
		data.forms["dat_p_m"] = "plūribus"
		data.forms["dat_p_n"] = "plūribus"
		
		data.forms["ac_s_m"] = ""
		data.forms["ac_s_n"] = "plūs"
		data.forms["ac_p_m"] = "plūrēs"
		data.forms["ac_p_n"] = "plūra"
		
		data.forms["abl_s_m"] = ""
		data.forms["abl_s_n"] = "plūre"
		data.forms["abl_p_m"] = "plūribus"
		data.forms["abl_p_n"] = "plūribus"
		
		data.forms["voc_s_m"] = ""
		data.forms["voc_s_n"] = "plūs"
		data.forms["voc_p_m"] = "plūrēs"
		data.forms["voc_p_n"] = "plūra"
		
		--data.footnote = "Note: Singular forms take the genitive of the whole and do not function as adjectives."
		
		--table.insert(data.categories, "Latin third declension adjectives")
	elseif args[1] == "is" then
		data.title = "Primera i segona decinació amb genitiu i datiu en singular irregulars."
		
		local m = "m"
		local i = "i"
		if data.suffix == "dem" then
			data.title = "Declinació irregular similar a ''is, ea, id''."
			m = "n"
			i = ""
		end
		
		data.forms["nom_s_m"] = "is"
		data.forms["nom_s_f"] = "ea"
		data.forms["nom_s_n"] = "id"
		data.forms["nom_p_m"] = {"eī", "iī"}
		data.forms["nom_p_f"] = "eae"
		data.forms["nom_p_n"] = "ea"
		
		data.forms["gen_s_m"] = {"eius", "ejus"}
		data.forms["gen_s_f"] = {"eius", "ejus"}
		data.forms["gen_s_n"] = {"eius", "ejus"}
		data.forms["gen_p_m"] = "eōru"..m
		data.forms["gen_p_f"] = "eāru"..m
		data.forms["gen_p_n"] = "eōru"..m
		
		data.forms["dat_s_m"] = "eī"
		data.forms["dat_s_f"] = "eī"
		data.forms["dat_s_n"] = "eī"
		data.forms["dat_p_m"] = {"eīs", i.."īs"}
		data.forms["dat_p_f"] = {"eīs", i.."īs"}
		data.forms["dat_p_n"] = {"eīs", i.."īs"}
		
		data.forms["ac_s_m"] = "eu"..m
		data.forms["ac_s_f"] = "ea"..m
		data.forms["ac_s_n"] = "id"
		data.forms["ac_p_m"] = "eōs"
		data.forms["ac_p_f"] = "eās"
		data.forms["ac_p_n"] = "ea"
		
		data.forms["abl_s_m"] = "eō"
		data.forms["abl_s_f"] = "eā"
		data.forms["abl_s_n"] = "eō"
		data.forms["abl_p_m"] = {"eīs", i.."īs"}
		data.forms["abl_p_f"] = {"eīs", i.."īs"}
		data.forms["abl_p_n"] = {"eīs", i.."īs"}
		
		data.voc = false
		
		if data.suffix == "dem" then
			data.forms["nom_s_m"] = "ī"
			data.forms["nom_s_n"] = "i"
			data.forms["nom_p_m"] = "ī"
			
			data.forms["gen_s_m"] = "eius"
			data.forms["gen_s_f"] = "eius"
			data.forms["gen_s_n"] = "eius"
			
			data.forms["ac_s_n"] = "i"
		end
	elseif args[1] == "ille" then
		data.subtype = data.subtype .. "-ius"
		
		decl["1i2"](data, args)
		
		data.title = "Primera i segona declinació amb genitiu i datiu en singular irregulars."
		
		data.forms["nom_s_m"] = "ille"
		data.forms["nom_s_n"] = "illud"
		
		data.voc = false
		
		data.forms["ac_s_m"] = "illum"
		
		data.forms["gen_s_m"] = "illīus"
		data.forms["gen_s_f"] = "illīus"
		data.forms["gen_s_n"] = "illīus"
		
		data.forms["dat_s_m"] = "illī"
		data.forms["dat_s_f"] = "illī"
		data.forms["dat_s_n"] = "illī"
		
		data.categories = {}
	elseif args[1] == "iste" then
		data.subtype = data.subtype .. "-ius"
		
		decl["1i2"](data, args)
		
		data.title = "Primera i segona declinació amb genitiu i datiu en singular irregulars."
		
		data.forms["nom_s_m"] = "iste"
		data.forms["nom_s_n"] = "istud"
		
		data.forms["ac_s_m"] = "istum"
		
		data.voc = false
		
		data.categories = {}
	elseif args[1] == "quis" or args[1] == "qui" then
		local id = "id"
		local em = "em"
		local o = "ō"
		if args[1] == "qui" then
			id = "od"
			em = "am"
			o = "ā"
		end
		
		data.forms["nom_s_m"] = "quis"
		data.forms["nom_s_f"] = "quis"
		data.forms["nom_s_n"] = "qu"..id
		data.forms["nom_p_m"] = "quī"
		data.forms["nom_p_f"] = "quae"
		data.forms["nom_p_n"] = "quae"
		
		data.forms["gen_s_m"] = {"cuius", "cujus"}
		data.forms["gen_s_f"] = {"cuius", "cujus"}
		data.forms["gen_s_n"] = {"cuius", "cujus"}
		data.forms["gen_p_m"] = "quōrum"
		data.forms["gen_p_f"] = "quārum"
		data.forms["gen_p_n"] = "quōrum"
		
		data.forms["dat_s_m"] = "cui"
		data.forms["dat_s_f"] = "cui"
		data.forms["dat_s_n"] = "cui"
		data.forms["dat_p_m"] = "quibus"
		data.forms["dat_p_f"] = "quibus"
		data.forms["dat_p_n"] = "quibus"
		
		data.forms["ac_s_m"] = "quem"
		data.forms["ac_s_f"] = "qu"..em
		data.forms["ac_s_n"] = "qu"..id
		data.forms["ac_p_m"] = "quōs"
		data.forms["ac_p_f"] = "quās"
		data.forms["ac_p_n"] = "quae"
		
		data.forms["abl_s_m"] = "quō"
		data.forms["abl_s_f"] = "qu"..o
		data.forms["abl_s_n"] = "quō"
		data.forms["abl_p_m"] = "quibus"
		data.forms["abl_p_f"] = "quibus"
		data.forms["abl_p_n"] = "quibus"
		
		data.voc = false
		
		if args[1] == "qui" then
			data.forms["nom_s_m"] = "quī"
			data.forms["nom_s_f"] = "quae"
		end
		
	elseif args[1] == "quisquis" then
		data.forms["nom_s_m"] = "quisquis"
		data.forms["nom_s_f"] = "quisquis"
		data.forms["nom_s_n"] = {"quidquid", "quicquid"}
		data.forms["nom_p_m"] = "quīquī"
		data.forms["nom_p_f"] = "quaequae"
		data.forms["nom_p_n"] = "quaequae"
		
		data.forms["gen_s_m"] = {"cuiuscuius", "cujuscujus"}
		data.forms["gen_s_f"] = {"cuiuscuius", "cujuscujus"}
		data.forms["gen_s_n"] = {"cuiuscuius", "cujuscujus"}
		data.forms["gen_p_m"] = "quōrumquōrum"
		data.forms["gen_p_f"] = "quārumquārum"
		data.forms["gen_p_n"] = "quōrumquōrum"
		
		data.forms["dat_s_m"] = "cuicui"
		data.forms["dat_s_f"] = "cuicui"
		data.forms["dat_s_n"] = "cuicui"
		data.forms["dat_p_m"] = "quibusquibus"
		data.forms["dat_p_f"] = "quibusquibus"
		data.forms["dat_p_n"] = "quibusquibus"
		
		data.forms["ac_s_m"] = "quemquem"
		data.forms["ac_s_f"] = "quamquam"
		data.forms["ac_s_n"] = {"quidquid", "quicquid"}
		data.forms["ac_p_m"] = "quōsquōs"
		data.forms["ac_p_f"] = "quāsquās"
		data.forms["ac_p_n"] = "quaequae"
		
		data.forms["abl_s_m"] = "quōquō"
		data.forms["abl_s_f"] = "quāquā"
		data.forms["abl_s_n"] = "quōquō"
		data.forms["abl_p_m"] = "quibusquibus"
		data.forms["abl_p_f"] = "quibusquibus"
		data.forms["abl_p_n"] = "quibusquibus"
		
		data.forms["voc_s_m"] = "quisquis"
		data.forms["voc_s_f"] = "quisquis"
		data.forms["voc_s_n"] = {"quidquid", "quicquid"}
		data.forms["voc_p_m"] = "quīquī"
		data.forms["voc_p_f"] = "quaequae"
		data.forms["voc_p_n"] = "quaequae"
		
		data.voc = true
	else
		error('adjectiu ' .. args[1] .. ' no reconegut')
	end
end

return decl