43 006
modifications
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 43 : | Ligne 43 : | ||
local j = 1 | local j = 1 | ||
for replacing, replaced in pairs(replacement_ids) do | for replacing, replaced in pairs(replacement_ids) do | ||
pokemon_ids[i] = mw.ustring.gsub(pokemon_ids[i], replacing, "") .. " forme(" .. replaced .. ")" | if mw.ustring.find(pokemon_ids[i], replacing) | ||
then pokemon_ids[i] = mw.ustring.gsub(pokemon_ids[i], replacing, "") .. " forme(" .. replaced .. ")" | |||
end | |||
end | end | ||
end | end | ||
Ligne 62 : | Ligne 64 : | ||
end | end | ||
end | end | ||
pokemon_type = mw.ustring.lower(pokemon_type) | |||
mw.logObject(pokemon_ids) | |||