79 548
contributi
(Fixing link of PrevNext in Pokémon subpages) |
(Fixing the fix of link of PrevNext in Pokémon subpages *** sovrascritto il testo esistente ***) |
||
local pokeData = multigen.getGen(pokes[poke] or pokes[mw.text.decode(poke)])
local type1, type2 = pokeData.type1, pokeData.type2
local
local
local
local
return prevnext.PrevNextLua{
color = type1,
series = pokeData.name,
list = list,
prev = table.concat{"#",
prevlink =
prevspr =
next = table.concat{"#",
nextlink =
nextspr =
}
end
m.subpage = function(frame)
local poke = string.trim(frame.args[1]
or mw.title.getCurrentTitle().rootText
local subpageSuffix = ""
if frame.args[2] then
end
return basePokePrecSucc(poke:lower(), subpageSuffix, poke)
end
|