Module:Etrian 2 Special Tile Data Cell: Difference between revisions
Jump to navigation
Jump to search
(Created page with "-------------------------------------------------------------------------------- -- -- 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 fr...") |
No edit summary |
||
Line 28: | Line 28: | ||
["Spread Tile"] = "展開床", | ["Spread Tile"] = "展開床", | ||
["Upstairs"] = "上り階段", | ["Upstairs"] = "上り階段", | ||
["Water"] = "水", | |||
} | } | ||
Latest revision as of 10:48, 1 July 2025
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