444
edits
Inconvenient (talk | contribs) mNo edit summary |
Inconvenient (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
local UseTables = require('Module:Items/UseTables') | local UseTables = require('Module:Items/UseTables') | ||
function p. | function p.generateInvokes(frame) | ||
local numberOfItems = 0 | local numberOfItems = 0 | ||
for k, v in pairs(ItemData.Items) do | for k, v in pairs(ItemData.Items) do | ||
Line 15: | Line 15: | ||
local i = 1 | local i = 1 | ||
while i < numberOfItems do | while i < numberOfItems do | ||
result = result..'{{#invoke:ItemsTable| | result = result..'{{#invoke:ItemsTable|getItemTable|'..i..'}}\r\n' | ||
i = i + 50 | i = i + 50 | ||
end | end |
edits