Differenze tra le versioni di "Modulo:Movelist/hf"

Sticky headers (credits @Cruifer) *** sovrascritto il testo esistente ***
(Ricordamosse è maiuscolo *** sovrascritto il testo esistente ***)
(Sticky headers (credits @Cruifer) *** sovrascritto il testo esistente ***)
 
! class="roundytr" colspan="${cs}" | ]=],
HEADERTM = [=[
! class="roundytop ${textcolor}" style="background: #${bg}; min-width: 4ex; line-height: 1em; position: sticky; top: 0; z-index: 10;" colspan="${cs}" | [[${genl} generazione|${genr}]]<div class="text-small">${tm}</div>
]=],
}
cells.level = function(gen)
local str =
'! class="roundytop ${textcolor}" style="background: #${bg}; min-width: 4ex; position: sticky; top: 0; z-index: 10;" colspan="${cs}" | [[${genl} generazione|${genr}]]\n'
local row = {}
for a = gen, gendata.latest do
cells.tm = function(gen, tms)
local str =
'! class="roundytop ${textcolor}" style="background: #${bg}; min-width: 4ex; line-height: 1em; position: sticky; top: 0; z-index: 10;" colspan="${cs}" | [[${genl} generazione|${genr}]]<div class="text-small">${tm}</div>\n'
local row = {}
local l
cells.breed = function(gen)
local str =
'! class="roundytop ${textcolor}" style="background: #${bg}; min-width: 4ex; position: sticky; top: 0; z-index: 10;" colspan="${cs}" | [[${genl} generazione|${genr}]]\n'
local row = {}
for a = gen, gendata.latest do
cells.tutor = function(gen, gms)
local str =
'! class="roundytop ${textcolor}" style="background: #${bg}; min-width: 6ex; position: sticky; top: 0; z-index: 10;" | ${game}\n'
local row = {}
for a in ipairs(gms) do
 
local colo = txt.interp(
'\n! class="roundytop ${textcolor}" style="background: #${bg}; width: 100px; position: sticky; top: 0; z-index: 10;" | [[Pokémon Colosseum|C]]\n',
{ bg = c.colo.normale, textcolor = cc.forModBgLua(c.colo.normale) }
)
[=[${str}Livello
|-${colo}
! class="roundytop ${textcolor}" style="background: #${bg}; width: 100px; position: sticky; top: 0; z-index: 10;" | [[Pokémon XD: Tempesta Oscura|XD]]]=],
{
str = j.headers(
79 547

contributi