Modification de Module:Capsule
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 25 : | Ligne 25 : | ||
local colspan = 6 | local colspan = 6 | ||
if generation == 3 | if generation == 3 then colspan = 9 | ||
elseif generation == 4 then colspan = 8 | elseif generation == 4 then colspan = 8 | ||
end | end | ||
Ligne 105 : | Ligne 105 : | ||
if ressources.indexTableau(jeux, "ev") then table.insert(resultat, '<th>Vignette</th>') end | if ressources.indexTableau(jeux, "ev") then table.insert(resultat, '<th>Vignette</th>') end | ||
table.insert(resultat, '<th>Capacité</th><th>Type</th><th>Catégorie</th><th>Puissance</th><th>Précision</th><th>PP</th>') | table.insert(resultat, '<th>Capacité</th><th>Type</th><th>Catégorie</th><th>Puissance</th><th>Précision</th><th>PP</th>') | ||
if generation == 3 | if generation == 3 then table.insert(resultat, '<th>[[Concours Pokémon|Type concours]]</th><th>[[Charme (concours)|Charme]]</th><th>[[Blocage (concours)|Blocage]]</th>') | ||
elseif generation == 4 then table.insert(resultat, '<th>[[Concours Pokémon|Type concours]]</th><th>[[Charme (concours)|Charme]]</th>') | elseif generation == 4 then table.insert(resultat, '<th>[[Concours Pokémon|Type concours]]</th><th>[[Charme (concours)|Charme]]</th>') | ||
end | end |