Module:Save Surala Item Data Cell
Jump to navigation
Jump to search
This template covers a list of items and their names in Japanese present in Shiren the Wanderer BS: Save Surala for use only in modules such as Modules:Save Surala Dungeon Items table row.
In this example, the attribute {{{item|}}} uses this module...
{{#invoke:Save Surala Dungeon Items table|main | category = Gitan | low_amount_1 = 20 | high_amount_1 = 200 | floors_1 = 1 - 5 }}
...and will result in:
![]() Gitan | ||
---|---|---|
Lowest amount | Highest amount | Floors |
20 | 200 | 1 - 5 |
--------------------------------------------------------------------------------
--
-- Module:Save Surala Item Data Cell
--
-- This module covers a list of items in Japanese present in
-- Shiren the Wanderer BS: Save Surala.
--
-- Parameters
--
-- name: Insert the item's English name there.
--
--------------------------------------------------------------------------------
p = {}
function p.saveSuralaItemDataCell(f)
-- Gets the arguments from #invoke:Save Surala Item Data Cell|saveSuralaItemDataCell
local args = f.args
-- List of every item's Japanese names
local list = {
[""] = "",
}
-- Returns the selected item in Japanese
return list[args.name]
end
return p