79 548
contributi
(Aggiunto Gimmighoul, corretto nome MissingNo *** sovrascritto il testo esistente ***) |
(Gen 9 *** sovrascritto il testo esistente ***) |
||
local t = {}
-- stylua: ignore start
local
local tab = require('Modulo:Wikilib/tables')
-- stylua: ignore end
-- TODO: refactor link creations
--]]
local function makeSingleLink(context, formName, poke, general)
target =
table.concat({ general, "#", t[poke].anchor or string.fu(poke) })
else
target = table.concat({ string.fu(poke), "/Forme" })
end
return string.interp(context, {
link = table.concat({ "[[", target, "|", formName, "]]" }),
})
end
--]]
local function makeTargetedLink(index, context, target, list, abbrs)
end
end
-- Creates links to alternative forms
local function makeIndexLinks(index, context)
"megaxy",
"archeo",
"alola",
"galar",
"gigamax",
"hisui",
"paldea",
}, key)
end)
makeTargetedLink(
index,
context,
"Megaevoluzione",
tab.merge(t.mega, t.megaxy),
)
makeTargetedLink(
index,
context,
"Archeorisveglio",
t.archeo,
{ "base", "A" }
)
makeTargetedLink(index, context, "Forma di Alola", t.alola, { "base", "A" })
makeTargetedLink(index, context, "Forma di Galar", t.galar, { "base", "G" })
makeTargetedLink(index, context, "Gigamax", t.gigamax, { "base", "Gi" })
makeTargetedLink(index, context, "Forma di Hisui", t.hisui, { "base", "H" })
makeTargetedLink(
index,
context,
"Forma di Paldea",
t.paldea,
{ "base", "P" }
)
end
-- Create all links for alternative forms (black, blue and plain)
local function makeLinks()
}
end
t.pikachu = {}
t.eevee = {}
t.tauros = {}
t.wooper = {}
t.castform = {}
t.deoxys = {}
t.basculegion = {}
t.enamorus = {}
t.oinkologne = {}
t.palafin = {}
t.squawkabilly = {}
t.gimmighoul = {}
-- Tabella con i Pokémon che hanno una sola megaevoluzione
-- stylua: ignore
t.mega = {'venusaur', 'blastoise', 'beedrill', 'pidgeot', 'alakazam',
'gengar', 'slowbro', 'kangaskhan', 'pinsir', 'gyarados', 'aerodactyl',
-- Tabella contentente i Pokémon che hanno più megaevoluzioni
t.megaxy = {
-- Tabella contenente i Pokémon che hanno un archeorisveglio
t.archeo = {
-- Tabella contenente i Pokémon che hanno una forma di Alola:
-- per efficienza, alcuni sono alla fine del modulo
-- stylua: ignore
t.alola = {'rattata', 'raichu', 'sandshrew', 'vulpix', 'diglett', 'meowth',
'persian', 'geodude', 'grimer', 'exeggutor', 'marowak'}
-- Tabella contenente i Pokémon che hanno una forma di Galar:
-- per efficienza, alcuni sono alla fine del modulo
-- stylua: ignore
t.galar = {'meowth', 'ponyta', 'slowpoke', 'slowbro', "farfetch'd", 'weezing',
'mr. mime', 'articuno', 'zapdos', 'moltres', 'slowking', 'corsola',
-- Table with Pokémon with a Gigamax
-- stylua: ignore
t.gigamax = {'venusaur', 'charizard', 'blastoise', 'butterfree', 'meowth',
'machamp', 'gengar', 'kingler', 'lapras', 'eevee', 'snorlax', 'garbodor',
-- Tabella contenente i Pokémon che hanno una forma di Hisui:
-- per efficienza, alcuni sono alla fine del modulo
-- stylua: ignore
t.hisui = {'growlithe', 'voltorb', 'typhlosion', 'qwilfish', 'sneasel',
'samurott', 'lilligant', 'zorua', 'braviary', 'sliggoo',
-- Tabella contenente i Pokémon che hanno una forma di Paldea
t.paldea = { "wooper", "tauros" }
--[[
--]]
-- stylua: ignore start
t.pikachu.names = {Cs = 'Pikachu Cosplay', R = 'Pikachu rockstar',
D = 'Pikachu damigella', Cn = 'Pikachu confetto',
S = 'Pikachu scienziata', W = 'Pikachu wrestler', Cm = 'Compagno',
Gi = 'Pikachu Gigamax', base = ''}
t.tauros.names = {Pa = 'Paldea', Pb = 'Paldea', Pc = 'Paldea', base = ''}
t.eevee.names = {Cm = 'Compagno', base = ''}
t.wooper.names = {P = 'Forma di Paldea', base = ''}
t.castform.names = {S = 'Forma Sole', P = 'Forma Pioggia',
N = 'Forma Nuvola di Neve', base = 'Forma Castform'}
t.basculegion.names = {F = 'Femmina', base = 'Maschio'}
t.enamorus.names = {T = 'Forma Totem', base = 'Forma Incarnazione'}
t.oinkologne.names = {F = 'Femmina', base = 'Maschio'}
t.palafin.names = {P = 'Forma Possente', base = 'Forma Ingenua'}
t.squawkabilly.names = {A = 'Piume Azzurre', G = 'Piume Gialle', B = 'Piume Bianche', base = 'Piume Verdi'}
t.gimmighoul.names = {A = 'Forma Ambulante', base = 'Forma Scrigno'}
-- stylua: ignore end
for _, v in pairs(t.mega) do
end
for _, v in pairs(t.megaxy) do
end
for _, v in pairs(t.archeo) do
end
for _, v in pairs(t.alola) do
end
for _, v in pairs(t.galar) do
end
for _, v in pairs(t.gigamax) do
end
for _, v in pairs(t.hisui) do
end
-- se diversi dal nome del Pokémon
t.rattata.anchor =
t.sandshrew.anchor =
t.vulpix.anchor =
t.diglett.anchor =
t.persian.anchor =
t.geodude.anchor =
t.ponyta.anchor =
t.grimer.anchor =
t.zigzagoon.anchor =
-- t.wormadam.anchor = 'Burmy e Wormadam'
-- t.tornadus.anchor = 'Forze della Natura'
-- Table to map extended names to abbrs
-- stylua: ignore
t.pikachu.ext = {cosplay = 'Cs', rockstar = 'R', damigella = 'D',
confetto = 'Cn', scienziata = 'S', wrestler = 'W', compagno = 'Cm',
gigamax = 'Gi'}
t.
t.
t.
t.
t.
t.wormadam.ext = { sabbia = "Sa", scarti = "Sc" }
t.cherrim.ext = { splendore = "S" }
-- stylua: ignore
t.rotom.ext = {calore = 'C', lavaggio = 'L', gelo = 'G', vortice = 'V',
taglio = 'T'}
t.dialga.ext = { originale =
t.palkia.ext = { originale =
t.giratina.ext = { originale =
t.shaymin.ext = { cielo =
-- stylua: ignore
t.arceus.ext = {lotta = 'L', volante = 'Vo', veleno = 'Ve', terra = 'T',
roccia = 'R', acqua = 'Aq', coleottero = 'C', erba = 'Er', psico = 'P',
buio = 'B', spettro = 'S', acciaio = 'Ai', fuoco = 'Fu', drago = 'D',
folletto = 'Fo', elettro = 'El', ghiaccio = 'G', coleot = 'C',
sconosciuto = 'Sc'}
t.basculin.ext = { lineablu =
t.darmanitan.ext = { zen =
t.tornadus.ext = { totem =
t.kyurem.ext = { nero =
t.meloetta.ext = { danza =
t.greninja.ext = { ash =
t.meowstic.ext = { femmina =
t.aegislash.ext = { spada =
t.pumpkaboo.ext = { mini =
t.zygarde.ext = { dieci =
t.hoopa.ext = { libero =
t.lycanroc.ext = { notte =
t.oricorio.ext = { cheerdance =
t.wishiwashi.ext = { banco = "B", individuale = "base" }
t.silvally.ext = mw.clone(t.arceus.ext)
t.silvally.ext.sconosciuto = nil
t.minior.ext = { nucleo =
t.necrozma.ext = { vespro =
t.toxtricity.ext = { basso =
t.alcremie.ext = { lattevaniglia =
t.eiscue.ext = { liquefaccia =
t.indeedee.ext = t.meowstic.ext
t.morpeko.ext = { panciavuota =
t.zacian.ext = { eroe =
t.zamazenta.ext = t.zacian.ext
t.eternatus.ext = { dynamax =
t.urshifu.ext = { pluricolpo =
t.calyrex.ext = { spettrale =
t.basculegion.ext = { femmina =
t.enamorus.ext = { totem =
t.
t.palafin.ext = { possente = "P", ingenua = "base" }
-- stylua: ignore
t.squawkabilly.ext = { azzurre = "A", gialle = "G", bianche = "B", verdi = "base" }
t.gimmighoul.ext = { ambulante = "A", scrigno = "base" }
for _, v in pairs(t.mega) do
end
for _, v in pairs(t.megaxy) do
end
for _, v in pairs(t.archeo) do
end
for _, v in pairs(t.alola) do
end
for _, v in pairs(t.galar) do
end
for _, v in pairs(t.gigamax) do
end
for _, v in pairs(t.hisui) do
end
--]]
t.venusaur.gamesOrder = {
t.charizard.gamesOrder = {
t.blastoise.gamesOrder = {
t.pikachu.gamesOrder = {
t.meowth.gamesOrder = {
t.gengar.gamesOrder = {
t.slowbro.gamesOrder = {
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.giratina.gamesOrder = { "base", "O" }
t.shaymin.gamesOrder = { "base", "C" }
-- stylua: ignore
t.arceus.gamesOrder = {'base', 'L', 'Vo', 'Ve', 'T', 'R', 'C', 'S', 'Ai', 'Fu',
'Aq', 'Er', 'El', 'P', 'G', 'D', 'B', 'Fo', 'Sc'}
t.basculin.gamesOrder = {
t.darmanitan.gamesOrder = {
t.tornadus.gamesOrder = {
t.kyurem.gamesOrder = {
t.meloetta.gamesOrder = {
t.greninja.gamesOrder = {
t.meowstic.gamesOrder = {
t.aegislash.gamesOrder = {
t.pumpkaboo.gamesOrder = {
t.zygarde.gamesOrder = {
t.hoopa.gamesOrder = {
t.lycanroc.gamesOrder = {
t.oricorio.gamesOrder = {
t.wishiwashi.gamesOrder = {
t.silvally.gamesOrder = mw.clone(t.arceus.gamesOrder)
table.remove(t.silvally.gamesOrder)
t.minior.gamesOrder = {
t.necrozma.gamesOrder = {
t.toxtricity.gamesOrder = {
t.eiscue.gamesOrder = {
t.indeedee.gamesOrder = t.meowstic.gamesOrder
t.morpeko.gamesOrder = {
t.zacian.gamesOrder = {
t.zamazenta.gamesOrder = t.zacian.gamesOrder
t.eternatus.gamesOrder = {
t.urshifu.gamesOrder = {
t.calyrex.gamesOrder = {
t.basculegion.gamesOrder = {
t.enamorus.gamesOrder = {
t.
t.palafin.gamesOrder = { "base", "P" }
t.squawkabilly.gamesOrder = { "base", "A", "G", "B" }
t.gimmighoul.gamesOrder = { "base", "A" }
for _, v in pairs(t.mega) do
end
for _, v in pairs(t.megaxy) do
end
for _, v in pairs(t.archeo) do
end
for _, v in pairs(t.alola) do
end
for _, v in pairs(t.galar) do
end
for _, v in pairs(t.gigamax) do
end
for _, v in pairs(t.hisui) do
end
for _, v in pairs(t.mega) do
end
for _, v in pairs(t.megaxy) do
end
for _, v in pairs(t.archeo) do
end
t.slowbro.cries = {
t.shaymin.cries = {
t.tornadus.cries = {
t.kyurem.cries = {
t.pumpkaboo.cries = {
t.zygarde.cries = {
t.hoopa.cries = {
t.oricorio.cries = {
t.lycanroc.cries = {
t.wishiwashi.cries = {
t.necrozma.cries = {
--[[
--]]
t.rattata.since = { A =
-- stylua: ignore
t.pikachu.since = {Cs = 'roza', R = 'roza', D = 'roza',
Cn = 'roza', S = 'roza', W = 'roza', Cm = 'lgpe',
Gi = 'spsc', base = 'rb'}
t.raichu.since = { A =
t.sandshrew.since = { A =
t.vulpix.since = { A =
t.diglett.since = { A =
t.meowth.since = { A =
t.persian.since = { A =
t.growlithe.since = { H =
t.geodude.since = { A =
t.ponyta.since = { G =
t.slowpoke.since = { G =
t.slowbro.since = { M =
t["farfetch'd"].since = { G =
t.grimer.since = { A =
t.voltorb.since = { H =
t.exeggutor.since = { A =
t.marowak.since = { A =
t.weezing.since = { G =
t[
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.giratina.since = { O = "pt", base = "dp" }
t.shaymin.since = { C = "pt", base = "dp" }
-- stylua: ignore
t.arceus.since = {base = 'dp', L = 'dp', Vo = 'dp', Ve = 'dp', T = 'dp',
R = 'dp', Aq = 'dp', C = 'dp', Er = 'dp', P = 'dp', B = 'dp', S = 'dp',
Ai = 'dp', Fu = 'dp', D = 'dp', Fo = 'xy', El = 'dp', G = 'dp', Sc = 'dp'}
t.samurott.since = { H =
t.lilligant.since = { H =
t.basculin.since = { B =
t.darumaka.since = { G =
t.darmanitan.since = { Z =
t.yamask.since = { G =
t.zorua.since = { H =
t.stunfisk.since = { G =
t.braviary.since = { H =
t.tornadus.since = { T =
t.kyurem.since = { N =
t.meloetta.since = { D =
t.greninja.since = { A =
t.meowstic.since = { F =
t.aegislash.since = { S =
t.sliggoo.since = { H =
t.pumpkaboo.since = { S =
t.avalugg.since = { H =
t.zygarde.since = { D =
t.hoopa.since = { L =
t.decidueye.since = { H =
t.lycanroc.since = { N =
t.oricorio.since = { C =
t.wishiwashi.since = { B =
-- stylua: ignore
t.silvally.since = {base = 'sl', L = 'sl', Vo = 'sl', Ve = 'sl', T = 'sl',
R = 'sl', Aq = 'sl', C = 'sl', Er = 'sl', P = 'sl', B = 'sl', S = 'sl',
Ai = 'sl', Fu = 'sl', D = 'sl', Fo = 'sl', El = 'sl', G = 'sl'}
t.minior.since = { base =
t.necrozma.since = { base =
t.toxtricity.since = { B =
t.eiscue.since = { L =
t.indeedee.since = { F =
t.morpeko.since = { base =
t.zacian.since = { R =
t.zamazenta.since = { R =
t.eternatus.since = { D =
t.urshifu.since = { P =
t.calyrex.since = { G =
t.basculegion.since = { F =
t.enamorus.since = { T =
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.
t.alcremie.since = { base = "spsc", Gi = "spsc" }
t.copperajah.since = { base = "spsc", Gi = "spsc" }
t.duraludon.since = { base = "spsc", Gi = "spsc" }
--[[
--]]
-- stylua: ignore
t.
t.arceus["until"] = { Sc = "hgss" }
-- Alias, messi qui per evitare inutili iterazioni dei cicli precedenti
-- to avoid useless repetitions of cycles
-- Otehr Alola forms
table.insert(t.alola,
table.insert(t.alola,
table.insert(t.alola,
table.insert(t.alola,
table.insert(t.alola,
table.insert(t.alola,
table.insert(t.alola,
table.insert(t.alola,
-- Other Galar forms
table.insert(t.galar,
table.insert(t.galar,
-- Other Hisuian forms
table.insert(t.hisui,
table.insert(t.hisui,
table.insert(t.hisui,
table.insert(t.hisui,
-- Other Gigamax forms
table.insert(t.gigamax,
table.insert(t.gigamax,
table.insert(t.gigamax,
-- Link creation should be done AFTER copying Pokémon with same forms, in order
t[105] = t.marowak
t[110] = t.weezing
t[122] = t[
t[128] = t.tauros
t[133] = t.eevee
t[144] = t.articuno
t[902] = t.basculegion
t[905] = t.enamorus
-- t[916] = t.oinkologne
-- t[934] = t.palafin
-- t[960] = t.squawkabilly
-- t[976] = t.gimmighoul
t[3] = t.venusaur
t[9] = t.blastoise
|