Module:Convnombreimagen

local p = {}

function p.main(frame) local name = '' if frame.args[1] ~= nil then name = frame.args[1] -- Conversiones name = string.lower(name) name = string.gsub(name, 'Á', 'á') name = string.gsub(name, 'Ä', 'ä') name = string.gsub(name, 'Â', 'â') name = string.gsub(name, 'É', 'é') name = string.gsub(name, 'Ë', 'ë') name = string.gsub(name, 'Í', 'í') name = string.gsub(name, 'Ï', 'ï') name = string.gsub(name, 'Ó', 'ó') name = string.gsub(name, 'Ö', 'ö') name = string.gsub(name, 'Ú', 'ú') name = string.gsub(name, 'Ü', 'ü') name = string.gsub(name, '/', '-') name = string.gsub(name, '&#39;', '') name = string.gsub(name, '\, ) name = string.gsub(name, '"', )       name = string.gsub(name, '&quot;', )        name = string.gsub(name, '&#34;', )        name = string.gsub(name, '?', )        name = string.gsub(name, '&#3f;', '')    end    return name end

return p