{{Helper module|name=ExchangeLite
|ftype1=table of form {args={'item', 'dataType'} }
|fuse1=Lightweight version of [[Module:Exchange]].
Returns the data type requested for the specified item. Any of the fields of an exchange page can be used (see [[Exchange:Fire rune]])
|fuse2=Takes an item name; returns the Grand Exchange price
-- <nowiki>
---- Lightweight version of Module:Exchange
local p = {}
local pageTemplate = {'Module:Exchange/', true}
local mw = mw
local function loadData(item)
    pageTemplate[2] = item
    local page = table.concat(pageTemplate)
    return mw.loadData(page)
-- usage:
-- local exg = require('Module:ExchangeLite')
-- local price = exg.load({args={'Divine charge', 'price' }})
function p.load(frame)
    local args = frame.args
    return loadData(args[1])[args[2]]
function p.price(item)
	return loadData(item).price
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.