Module:Etrian 1 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 for use only in table Templates such as Module:Etrian 1 Dungeon Special Tiles table.
In this example, the attribute {{{tile_n|}}} uses this module...
{{#invoke:Etrian 1 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 1 Special Tile Data Cell
--
-- This module covers a list of special tiles in Japanese present in
-- Etrian Mystery Dungeon.
--
-- Parameters
--
-- name: Insert the tile's English name there.
--
--------------------------------------------------------------------------------
p = {}
function p.etrian1SpecialTileDataCell(f)
-- Gets the arguments from #invoke:Etrian 1 Special Tile Data Cell|etrian1Special TileDataCell
local args = f.args
-- List of every tile's Japanese names
local list = {
["Amber Tile"] = "琥珀床",
["Downstairs"] = "下り階段",
["Geomagnetic Pole"] = "樹海磁軸",
["Magma"] = "マグマ",
["Spread Tile"] = "展開床",
["Upstairs"] = "上り階段",
["Water"] = "水",
}
-- Returns the selected tile's Japanese name
return list[args.name]
end
return p