79 548
contributi
m (Niente alias perché non accetto che vengano usate sigle diverse da LGPE) |
(Fixing data bugs in Evo-data, adding alias in colorscheme *** sovrascritto il testo esistente ***) |
||
local c = {}
local txt = require('Modulo:Wikilib/strings') -- luacheck: no unused
-- Questa è la funzione principale che viene chiamata da (quasi) tutte le altre.
variante = string.trim(variante:lower())
local colors = {light = light, dark = dark}
end
c.kanto = function(frame) return _colore(frame.args[1], 'AAFFAA', 'FFAAAA') end
c.Kanto, c.RG, c.RV, c['Red, Green & Blue'], c['Rosso, Verde & Blu']
c.kanto, c.kanto, c.kanto, c.kanto, c.kanto, c.kanto
c.orange = function(frame) return _colore(frame.args[1], 'FFDDAA', 'FFBB55') end
c.Orange = c.orange
c.johto = function(frame) return _colore(frame.args[1], 'DDDDDD', 'FFCB49') end
c.Johto, c.GS, c['Gold, Silver & Crystal'], c.OA, c['Oro, Argento & Cristallo'] =
c.johto, c.johto, c.johto, c.johto, c.johto
c.hoenn = function(frame) return _colore(frame.args[1], '9999FF', 'FF7777') end
c.Hoenn, c.AG, c.RS, c.RZ, c['Ruby & Sapphire'], c['Rubino & Zaffiro'] =
c.hoenn, c.hoenn, c.hoenn, c.hoenn, c.hoenn, c.hoenn
c.smeraldo = function(frame) return _colore(frame.args[1], '77FF77', '55DD55') end
c.Smeraldo, c.Emerald, c.Frontier = c.smeraldo, c.smeraldo, c.smeraldo
|