Modification de Module:Tableau Pokémon
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 543 : | Ligne 543 : | ||
local attente = extract_argument("attente", infos, attente_default) | local attente = extract_argument("attente", infos, attente_default) | ||
if tonumber(attente) | if tonumber(attente) | ||
then if tonumber(attente) >= 2 | then attente = attente .. " jour" | ||
if tonumber(attente) >= 2 then attente = attente .. "s" end | |||
end | end | ||
Ligne 552 : | Ligne 550 : | ||
local attente_pred = extract_argument("attente", poke[h-1], attente_default) | local attente_pred = extract_argument("attente", poke[h-1], attente_default) | ||
if tonumber(attente_pred) | if tonumber(attente_pred) | ||
then if tonumber(attente_pred) >= 2 | then attente_pred = attente_pred .. " jour" | ||
if tonumber(attente_pred) >= 2 then attente_pred = attente_pred .. "s" end | |||
end | end | ||
Ligne 580 : | Ligne 576 : | ||
local attente_next = extract_argument("attente", poke[hh], attente_default) | local attente_next = extract_argument("attente", poke[hh], attente_default) | ||
if tonumber(attente_next) | if tonumber(attente_next) | ||
then if tonumber(attente_next) >= 2 | then attente_next = attente_next .. " jour" | ||
if tonumber(attente_next) >= 2 then attente_next = attente_next .. "s" end | |||
end | end | ||