Module:Sandbox/Capankajsmilyo/Religious color: Difference between revisions

imported>Pppery
m (Pppery moved page Module:Sandbox/Religious color to Module:Sandbox/Capankajsmilyo/Religious color without leaving a redirect: As the documentation on Module:Sandbox says, modules are supposed to be in the Module:Sandbox/User/name format)
 
(No difference)

Latest revision as of 19:03, 28 Haziran 2018

Documentation for this module may be created at Module:Sandbox/Capankajsmilyo/Religious color/doc

local p = {}

p.getColor = function(frame)
 local input = frame.args[1]
 local types = {
  ["egyptian"] = "decd87",
 }
 return "background-color: #" .. colors[input]
end

return p