444
edits
Inconvenient (talk | contribs) mNo edit summary |
Inconvenient (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
-- this module generates [[Template:ItemsTable]] 50 lines at a time. | -- this module generates [[Template:ItemsTable]] 50 lines at a time. | ||
-- run p.generateInvokes() in debug and copy the result to [[Template:ItemsTable]] after an update that adds new items | -- run p.generateInvokes() in debug and copy the result to [[Template:ItemsTable]] after an update that adds new items. | ||
local p = {} | local p = {} | ||
Line 16: | Line 16: | ||
local i = 1 | local i = 1 | ||
while i < numberOfItems do | while i < numberOfItems do | ||
result = result..'{{#invoke:ItemsTable|getItemsTable|'..i..'}} | result = result..'\r\n{{#invoke:ItemsTable|getItemsTable|'..i..'}}' | ||
i = i + 50 | i = i + 50 | ||
end | end |
edits