Editing Module:Sandbox/Monster DomosedGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 2: | Line 2: | ||
local data = mw.loadJsonData("Data:ItemData.json") | local data = mw.loadJsonData("Data:ItemData.json") | ||
-------------------------------------------------- | -------------------------------------------------- | ||
| Line 93: | Line 92: | ||
return names | return names | ||
end | end | ||
| Line 141: | Line 98: | ||
-------------------------------------------------- | -------------------------------------------------- | ||
-- {{#invoke: | -- {{#invoke:Monster Domosed|get_list}} | ||
function p.get_list(frame) | function p.get_list(frame) | ||
return table.concat(p._get_enabled_item_names_sorted(), "\n") | return table.concat(p._get_enabled_item_names_sorted(), "\n") | ||
end | end | ||
-- {{#invoke: | -- {{#invoke:Monster Domosed|get_csv}} | ||
function p.get_csv(frame) | function p.get_csv(frame) | ||
return table.concat(p._get_enabled_item_names_sorted(), ",") | return table.concat(p._get_enabled_item_names_sorted(), ",") | ||
end | end | ||
-- {{#invoke: | -- {{#invoke:Monster Domosed|get_count}} | ||
function p.get_count(frame) | function p.get_count(frame) | ||
return tostring(#p._get_enabled_item_names_sorted()) | return tostring(#p._get_enabled_item_names_sorted()) | ||
end | end | ||
return p | return p | ||