Jump to content

Module:R:roa:ALF

From Wiktionary, the free dictionary

This module implements the reference template {{R:roa:ALF}}.


local export = {}

function export.main(frame)

	local args = require("Module:parameters").process(frame:getParent().args, {
		[1] = {list = true, required = true},
	})

	local ret = "ALF: <cite>Atlas Linguistique de la France</cite><sup>[http://lig-tdcge.imag.fr/cartodialect5/#/visualiseur]</sup> – "

	for index, map in ipairs(args[1]) do
		if index ~= 1 then
			ret = ret .. ", "
		end
		ret = ret .. "map " .. map
	end

	ret = ret .. " – on <cite>lig-tdcge.imag.fr</cite>"

	return ret

end

return export