Anonimo

Modulo:FunzioniGeneriche: differenze tra le versioni

Da Wikitrek.
Nessun cambiamento nella dimensione ,  7 apr 2021
m
nessun oggetto della modifica
mNessun oggetto della modifica
mNessun oggetto della modifica
Riga 99: Riga 99:
-- @param BackColor The hex code of the background color
-- @param BackColor The hex code of the background color
-- @return name of the color
-- @return name of the color
function p.TextColor(BackColor)
function p.TextColor(frame)
local hex = string.sub(BackColor, 1)
local hex = string.sub(frame.args[1], 1)
local R, G, B
local R, G, B
     if hex:len() == 3 then
     if hex:len() == 3 then