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 53 : Ligne 53 :
if mw.ustring.find(pokemon, replacing)
if mw.ustring.find(pokemon, replacing)
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 = replaced
pokemon_type = data_types[pokemon_without_form][form][1]
pokemon_type = data_types[pokemon_without_form][form][1]
break
break