Module:ItemsTable: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:
local p = {}
local p = {}


local Items = require('Module:Items')
local ItemData = mw.loadData('Module:Items/data')
local ItemData = mw.loadData('Module:Items/data')
local Shared = require('Module:Shared')
local Shared = require('Module:Shared')
Line 28: Line 29:
   local iend = i + 50
   local iend = i + 50
   while i < iend do
   while i < iend do
     local item = Item.getItemById(i)
     local item = Items.getItemById(i)
     local itemRow = '\r\n|-'
     local itemRow = '\r\n|-'
     itemRow = itemRow..'\r\n|style="text-align:left;"|'..Icons.Icon({item.name, type='item', notext=true, size=50})
     itemRow = itemRow..'\r\n|style="text-align:left;"|'..Icons.Icon({item.name, type='item', notext=true, size=50})
444

edits