Module:Gates to Infinity Pokémon Data Cell
Jump to navigation
Jump to search
This template covers a list of Pokémon, their names in Japanese, their types, and the amount of experience points they drop present in Pokémon Mystery Dungeon: Gates to Infinity for use only in table Templates such as Module:Gates to Infinity Dungeon Pokémon table.
In this example, the attribute {{{pokémon_n|}}} uses this module...
{{#invoke:Gates to Infinity Dungeon Pokémon table|main | pokémon_1 = Pikachu | floor_1 = 2 }}
...and will result in:
Model | Pokémon | Type | Level | Experience | Floors | Recruit Chance | |||
---|---|---|---|---|---|---|---|---|---|
English | Japanese | ||||||||
![]() | Pikachu | [Research required] | [Research required] | [Research required] | Unrecruitable |
--------------------------------------------------------------------------------
--
-- Module:Gates to Infinity Pokémon Data Cell
--
-- This module covers a list of Pokémon in Japanese, their types, and the
-- amount of experience points they drop present in
-- Pokémon Mystery Dungeon: Gates to Infinity.
--
-- Parameters
--
-- name: Insert the Pokémon's English name there.
-- getVar: Picks which key the module should return.
-- * ja: Returns the Pokémon's Japanese name.
-- * type1: Returns the Pokémon's first name.
-- * type2: Returns the Pokémon's second type.
-- * exp: Returns the Pokémon's experience points.
--
--------------------------------------------------------------------------------
p = {}
function p.gatesToInfinityPokemonDataCell(f)
-- Gets the arguments from #invoke:Gates to Infinity Pokémon Data Cell|gatesToInfinityPokemonDataCell
local args = f.args
-- List of every Pokémon's Japanese names, types, and experience points
local list = {
[""] = {["ja"] = "", ["type1"] = "", ["type2"] = "", ["exp"] = ""},
}
-- Returns the selected Pokémon with the object's specified key value
return list[args.name][args.getVar]
end
return p