Aller au contenu

« Module:Localisations » : différence entre les versions

m
aucun résumé des modifications
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 54 : Ligne 54 :
then local pokemon_without_form = mw.ustring.gsub(pokemon, replacing, "")
then local pokemon_without_form = mw.ustring.gsub(pokemon, replacing, "")
local form = replacing
local form = replacing
pokemon_type = data_types[pokemon_without_form][form]
pokemon_type = data_types[pokemon_without_form][form][1]
break
break
end
end
end
end
if not pokemon_type
if not pokemon_type
then pokemon_type = data_types[pokemon][1]
then pokemon_type = data_types[pokemon][1][1]
end
end
end
end