Module:Etrian 2 Special Tile Data Cell
Jump to navigation
Jump to search
This template covers a list of tiles and their names in Japanese present in Etrian Mystery Dungeon 2 for use only in table Templates such as Module:Etrian 2 Dungeon Special Tiles table.
In this example, the attribute {{{tile_n|}}} uses this module...
{{#invoke:Etrian 2 Dungeon Special Tiles table|main | tile_1 = Spread Tile | floor_1 = 2 }}
...and will result in:
Model | Special Tiles | Floors | |
---|---|---|---|
English | Japanese | ||
![]() | Spread Tile | 展開床 | 2 |
--------------------------------------------------------------------------------
--
-- Module:Etrian 2 Special Tile Data Cell
--
-- This module covers a list of special tiles in Japanese present in
-- Etrian Mystery Dungeon 2.
--
-- Parameters
--
-- name: Insert the tile's English name there.
--
--------------------------------------------------------------------------------
p = {}
function p.etrian2SpecialTileDataCell(f)
-- Gets the arguments from #invoke:Etrian 2 Special Tile Data Cell|etrian2Special TileDataCell
local args = f.args
-- List of every tile's Japanese names
local list = {
["Crystal Tile"] = "結晶床",
["Downstairs"] = "下り階段",
["Geomagnetic Pole"] = "樹海磁軸",
["Light Switch"] = "あかりスイッチ",
["Magma"] = "マグマ",
["Skill Point Tile"] = "スキルポイント床",
["Spread Tile"] = "展開床",
["Upstairs"] = "上り階段",
["Water"] = "水",
}
-- Returns the selected tile's Japanese name
return list[args.name]
end
return p