Module:Gradient

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 20:58, 29 April 2021 by Vish (talk | contribs)
Jump to navigation Jump to search

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]

    return gradientData[gradientText] or gradientText or "{{BackGradient}}"
end

return p