Modification de Module:Description/formesSpéciales
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 1 : | Ligne 1 : | ||
return function(ndex, name, form, special_form_name, info_indix_beginning, info_indix_end, game) | return function(ndex, name, form, special_form_name, info_indix_beginning, info_indix_end, game) | ||
local has_form = info_indix_beginning <= info_indix_end | local has_form = info_indix_beginning <= info_indix_end | ||
Ligne 258 : | Ligne 248 : | ||
} | } | ||
local f = switch_special[ndex] | local general_switch_to_test = true | ||
if game == "GO" | |||
then local switch_go = require("Module:Description/formesSpéciales/Pokémon GO") | |||
local t = switch_go(ndex, name, form, special_form_name, info_indix_beginning, info_indix_end) | |||
if t.has_found_special_form | |||
then return t | |||
end | |||
end | |||
if general_switch_to_test | |||
then local f = switch_special[ndex] | |||
if f | |||
then f() | |||
end | |||
end | end | ||