Modification de Module:Capacité
Aller à la navigation
Aller à la recherche
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 110 : | Ligne 110 : | ||
poke[y] = mw.text.trim( poke[y] ) | poke[y] = mw.text.trim( poke[y] ) | ||
if y % 2 == 0 then | if y % 2 == 0 then | ||
if tonumber(poke[y]) ~= nil then poke[y] = "N." .. poke[y] end | if tonumber(poke[y]) ~= nil then poke[y] = "N." .. poke[y] end | ||
infos = infos .. "<br />" | infos = infos .. "<br />" .. poke[y] | ||
else infos = infos .. frame:expandTemplate{ title = 'Sup', args = { poke[y] } } | else infos = infos .. frame:expandTemplate{ title = 'Sup', args = { poke[y] } } | ||
end | end | ||
y = y + 1 | y = y + 1 | ||
end | end | ||
if tonumber(poke[2]) ~= nil then poke[2] = "N." .. mw.text.trim( poke[2] ) else poke[2] = mw.text.trim( poke[2] ) end | if tonumber(poke[2]) ~= nil then poke[2] = "N." .. mw.text.trim( poke[2] ) else poke[2] = mw.text.trim( poke[2] ) end | ||
table.insert(resultat, '<td>' .. ressources.infosPokemon( poke[1] ) .. '</td><td>' | table.insert(resultat, '<td>' .. ressources.infosPokemon( poke[1] ) .. '</td><td>' .. poke[2] .. infos .. '</td>') | ||
if j == 3 then | if j == 3 then | ||
j = 1 | j = 1 |