Differenze tra le versioni di "Modulo:Wikilib/games"

Adding code to check how much crying before a breaking change *** sovrascritto il testo esistente ***
(Added Pokedata module)
(Adding code to check how much crying before a breaking change *** sovrascritto il testo esistente ***)
 
local g = {}
 
local txt = require('Modulo:Wikilib/strings') -- luacheck: no unused
local tab = require('Modulo:Wikilib/tables') -- luacheck: no unused
local formUtil = require('Modulo:Wikilib/forms')
local genUtil = require('Modulo:Wikilib/gens')
--]]
g.isInGame = function(poke, game)
local ndexndex_ = string.parseInt(poke)
local abbrabbr_ = formUtil.getAbbrgetabbr(poke)
local ndex, abbr = formUtil.getndexabbr(poke)
assert(ndex == ndex_, "Mismatch in Wikilib/games.isInGame: ndex are different")
assert(abbr == abbr_, "Mismatch in Wikilib/games.isInGame: abbr are different")
 
-- Pokémon given as a name
79 548

contributi