View source for Module:ItemsTable
From Melvor Idle
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
-- this module generates [[Template:ItemsTable]] 100 lines at a time.
-- run p.generateInvokes() in debug and copy the result to [[Template:ItemsTable]] after an update that adds new items.
local p = {}
local Shared = require('Module:Shared')
local ItemData = mw.loadData('Module:Items/data')
local Items = require('Module:Items')
local Icons = require('Module:Icons')
local SourceTables = require('Module:Items/SourceTables')
local UseTables = require('Module:Items/UseTables')
function p.getInvokes(frame)
local result = '{| class="wikitable sortable stickyHeader" style="width:100%;"'
result = result..'\r\n!Item!!ID!!Category!!Type!!Sells For\r\n'
local i = 1
while i < Shared.tableCount(ItemData.Items) do
result = result..'{{#invoke:ItemsTable|getItemsTable|'..i..'}}'
i = i + 50
end
000
1:0
Template used on this page:
Return to Module:ItemsTable.