Module:Pokémon

From Story Lists
Revision as of 07:01, 18 April 2021 by DanielCM (talk | contribs) (Created page with "local p = {} local dex = require("Module:Pokédex") function p.pokedex(frame) result = "" for i, v in ipairs( dex ) do result = result .. ":" .. i .. ": " .. v .. "\n"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Pokémon/doc

local p = {}
local dex = require("Module:Pokédex")

function p.pokedex(frame)
	result = ""

	for i, v in ipairs( dex ) do
		result = result .. ":" .. i .. ": " .. v .. "\n"
	end

	return result
end

return p