Differenze tra le versioni di "Modulo:Abillist"

Aggiunto link per le forme base *** sovrascritto il testo esistente ***
m (mw.loadData fa danni, è appurato)
(Aggiunto link per le forme base *** sovrascritto il testo esistente ***)
local list = require('Modulo:Wikilib/lists')
local form = require('Modulo:Wikilib/forms')
local forms = mw.loadData('Modulo:AltForms/-data')
local c = mw.loadData('Modulo:Colore/-data')
local pokes = require('Modulo:Poké/data')
 
local this = Entry.super.new(name, pokes[name].ndex)
this = table.merge(this, pokeAbil)
 
return setmetatable(table.merge(this, pokes[name]), Entry)
end
| style="background:#FFFFFF; border:1px solid #D8D8D8;" | ${abild}]=],
{
ani = ms.aniLua(string.tf(this.ndex or 0) .. (this.formAbbr or '')),
(this.formAbbr == 'base' and '' or this.formAbbr or '')),
name = this.name,
form = this.formsData and this.formsData.blacklinks[this.formAbbr] or '',
and this.formsData.blacklinks[this.formAbbr]
or '',
cs = monoType and '2' or '1',
std1 = c[this.type1].normale,
local makeFooter = function(type)
return string.interp([=[
| class="roundybottom text-left font-small" colspan="7" style="background: #${bg}; line-height:10px;" | '''Questa tabella è completamente corretta solo per i giochi di [[sestasettima generazione|<span style="color:#000">sestasettima generazione</span>]].'''
*Per i giochi di [[terza generazione|<span style="color:#000">terza generazione</span>]] si ignorino le abilità introdotte nelle generazioni successive, le seconde e quelle nascoste.
*Per i giochi di [[quarta generazione|<span style="color:#000">quarta generazione</span>]] si ignorino le abilità introdotte nelle generazioni successive e quelle nascoste.
*Per i giochi di [[quinta generazione|<span style="color:#000">quinta</span>]] e [[sesta generazione|<span style="color:#000">sesta generazione</span>]] si ignorino le abilità introdotte nelle generazioni successive.
|}]=], {bg = c[type].light})
end
return list.makeList({
source = mw.loadData('Modulo:PokéAbil/data'),
iterator = list.pokeNames,
entryArgs = abil,
106 621

contributi