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 760 : | Ligne 760 : | ||
local resultat = {"<table class='tableaustandard centre' style='max-width: 100%;'><tr>" | local resultat = {"<table class='tableaustandard centre' style='max-width: 100%;'><tr>" | ||
.. "<th rowspan='" .. rowspan_en_tete .. "'>Pokémon</th><th rowspan='" .. rowspan_en_tete .. "'>Talent caché</th><th rowspan='" | .. "<th rowspan='" .. rowspan_en_tete .. "'>Pokémon</th><th rowspan='" .. rowspan_en_tete .. "'>Talent caché</th><th rowspan='" | ||
.. rowspan_en_tete .. "'>[[IV]] parfaits<br>garantis</th><th colspan='" .. colspan_taux .. "'> | .. rowspan_en_tete .. "'>[[IV]] parfaits<br>garantis</th><th colspan='" .. colspan_taux .. "'>"} | ||
if page ~= nil and page ~= pagename | if page ~= nil and page ~= pagename | ||
then table.insert(resultat, frame:preprocess(" | then table.insert(resultat, '<div style="float:left; width:0em; text-align:left"><div style="font-size:xx-small">' | ||
.. frame:preprocess("[[" .. page .. "|Source]]") .. '</div></div>') | |||
end | end | ||
table.insert(resultat, "</th>") | table.insert(resultat, "Taux</th>") | ||
if colspan_notes > 0 | if colspan_notes > 0 | ||
then table.insert(resultat, "<th rowspan='" .. rowspan_en_tete .. "'>Notes</th>") | then table.insert(resultat, "<th rowspan='" .. rowspan_en_tete .. "'>Notes</th>") |