Differenze tra le versioni di "Modulo:AltForms/data"

Fixing Urshifu links *** sovrascritto il testo esistente ***
(Changing Tauros forms names *** sovrascritto il testo esistente ***)
(Fixing Urshifu links *** sovrascritto il testo esistente ***)
local target
if general then
target = table.concat({ general, "#", t[poke].anchor or txt.fu(poke) })
table.concat({ general, "#", t[poke].anchor or string.fu(poke) })
else
target = table.concat({ stringtxt.fu(poke), "/Forme" })
end
return stringtxt.interp(context, {
link = table.concat({ "[[", target, "|", formName, "]]" }),
})
t[v] = { names = { base = "" } }
end
t[v].names.M = "Mega" .. stringtxt.fu(v)
end
for _, v in pairs(t.megaxy) do
t[v] = { names = { base = "" } }
end
local fu = stringtxt.fu(v)
t[v].names.MX = table.concat({ "Mega", fu, " X" })
t[v].names.MY = table.concat({ "Mega", fu, " Y" })
t[v] = { names = { base = "" } }
end
t[v].names.Gi = stringtxt.fu(v) .. " Gigamax"
end
for _, v in pairs(t.hisui) do
table.insert(t.gigamax, "pikachu")
table.insert(t.gigamax, "toxtricity")
table.insert(t.gigamax, "urshifu")
 
-- Link creation should be done AFTER copying Pokémon with same forms, in order
-- to use the right name for the link
makeLinks()
 
-- Urshifu has both a gigamax and a non-empty base form, hence we copy it after
-- link creation
table.insert(t.gigamax, "urshifu")
 
t[19] = t.rattata
79 548

contributi