79 548
contributi
(New syntax for CSS gradients *** sovrascritto il testo esistente ***) |
(Minor edit in minimum width, named parameters of css *** sovrascritto il testo esistente ***) |
||
cells.level = function(gen)
local str = '! class="roundytop" style="background: #${bg}; min-width:
local row = {}
for a = gen, gendata.latest do
cells.tm = function(gen, tms)
local str = '! class="roundytop" style="background: #${bg}; min-width:
local row, l = {}, ''
for a = gen, gendata.latest do
cells.breed = function(gen)
local str = '! class="roundytop" style="background: #${bg}; min-width: 4ex" colspan="2" | [[${genl} generazione|<span style="color:#FFF;">${genr}</span>]]\n'
local row = {}
for a = gen, gendata.latest do
cells.tutor = function(gen, gms)
local str = '! class="roundytop" style="background: #${bg}; color: #fff; min-width: 6ex;" | ${game}\n'
local row = {}
for a in ipairs(gms) do
! class="roundytr" colspan="${cs}" | ]=],
{
bg = css.horizGradLua{
rs = kind == 'event' and 1 or 2,
cs = cs[kind](gen)
! colspan="6" style="${bg}" | [[${genl} generazione|<span style="color:#${tc}">${genl} generazione</span>]]]=],
{
bg = css.horizGradLua{
genl = string.fu(gendata[gen].ext),
tc = c[gendata[gen].region].dark
|