Difference between revisions of "Module:Sandbox"

From Story Lists
Jump to navigation Jump to search
Line 3: Line 3:


function p.pokedex(frame)
function p.pokedex(frame)
    return dex[14]
result = ""
 
for i, v in ipairs( dex ) do
result = result .. v
end
 
return result
end
end


return p
return p

Revision as of 06:57, 18 April 2021

Documentation for this module may be created at Module:Sandbox/doc

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

function p.pokedex(frame)
	result = ""

	for i, v in ipairs( dex ) do
		result = result .. v
	end

	return result
end

return p