Module:Gradient

Documentation for this module may be created at Module:Gradient/doc

local p = {}

local gradientData = mw.loadData( 'Module:Gradient/data' )

function p.main( frame )
    local gradientText = frame.args[1]

	if gradientText == "" then
        return "\{\{BackGradient\}\}"
    else
        return gradientData[gradientText] or gradientText or ""
    end
    
end

return p