4,683
edits
(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. | :wikitext(Icons._Currency((item.sellsForCurrency or 'melvorD:GP'), item.sellsFor)) | ||
return span | return span | ||
end | end |