Anonymous

Module:Items: Difference between revisions

From Melvor Idle
m
no edit summary
(Add getCurrencyItemBoxText to get the sell value and currency icon of an item)
mNo edit summary
Line 541: Line 541:
local span = mw.html.create('span')
local span = mw.html.create('span')
:wikitext("'''Sells For:''' ")
:wikitext("'''Sells For:''' ")
:wikitext(Icons._Currency((item.sellsforCurrency or 'melvorD:GP'), item.sellsFor))
:wikitext(Icons._Currency((item.sellsForCurrency or 'melvorD:GP'), item.sellsFor))
return span
return span
end
end