Fandom

Fire Emblem Wiki

Module:Color

5,321pages on
this wiki
Add New Page
Talk0
local color = {
    colorByGame = {
        fe1 = '#4682B4',
        fe2 = '#3CB371',
        fe3 = '#00008B',
        fe4 = '#A0522D',
        fe5 = '#D2691E',
        fe6 = '#B0E0DE',
        fe7 = '#DC1430',
        fe8 = '#9BE2BB',
        fe9 = '#87CEEB',
        fe10 = '#FFA500',
        fe11 = '#09419c',
        fe12 = '#B0C4DE',
        fe13 = '#ADD8E6',
        fe14 = '#E8BCD7',
        ts = '#8B008B',
        ts2 = '#E6E65C',
        smt = '#9dff26',
        tms = '#9dff26'
    }
}
 
function color.getColor(frame)
    game = string.lower(frame.args[1])
        if game == '' or color.colorByGame[game] == nil then
            return '<span style="color:red">Invalid game input. Check out the documentation at [[Template:Color/doc]]</span>'
        else
            return color.colorByGame[game]
        end
end
 
return color
--[[Category:Modules]]

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki