Module:ItemsTable: Difference between revisions

m
no edit summary
(Created page with "local p = {} local ItemData = mw.loadData('Module:Items/data') local Shared = require('Module:Shared') local Icons = require('Module:Icons') local SourceTables = require('Mod...")
 
mNo edit summary
Line 9: Line 9:
function p.getItemTable(frame)
function p.getItemTable(frame)
   local itemList = {}
   local itemList = {}
   local index = frame.args[1]
   local index = tonumber(frame.args[1])
   for i, item in Shared.skpairs(ItemData.Items) do
   for i, item in Shared.skpairs(ItemData.Items) do
     if i >= index and i < index + 50 then
     if i >= index and i < index + 50 then
444

edits