Modification de Module:Tableau Pokémon
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 563 : | Ligne 563 : | ||
if not extending_blocs and blocs_next == blocs_unsplit | if not extending_blocs and blocs_next == blocs_unsplit | ||
then rowspan_blocs = rowspan_blocs + rowspan_lignes[hh] | then rowspan_blocs = rowspan_blocs + rowspan_lignes[hh] | ||
else extending_blocs = | else extending_blocs = false | ||
end | end | ||
Ligne 578 : | Ligne 578 : | ||
if attente == attente_next | if attente == attente_next | ||
then rowspan_attente = rowspan_attente + rowspan_lignes[hh] | then rowspan_attente = rowspan_attente + rowspan_lignes[hh] | ||
else extending_attente = | else extending_attente = false | ||
end | end | ||
end | end | ||
Ligne 586 : | Ligne 586 : | ||
end | end | ||
if h == 2 or not | if h == 2 or not extending_blocs | ||
then table.insert(resultat, '<td rowspan="' .. rowspan_blocs .. '">' .. blocs .. '</td>') | then table.insert(resultat, '<td rowspan="' .. rowspan_blocs .. '">' .. blocs .. '</td>') | ||
end | end | ||
if h == 2 or not | if h == 2 or not extending_attente | ||
then table.insert(resultat, '<td rowspan="' .. rowspan_attente .. '">' .. attente .. '</td>') | then table.insert(resultat, '<td rowspan="' .. rowspan_attente .. '">' .. attente .. '</td>') | ||
end | end |