1,131
edits
No edit summary |
No edit summary |
||
| Line 175: | Line 175: | ||
end | end | ||
if type(region) == 'table' and #region == 0 then | |||
region = {editbtn} | |||
end | |||
local currency = item['Store currency'] | local currency = item['Store currency'] | ||
| Line 188: | Line 188: | ||
sellSortValue = sellvalue | sellSortValue = sellvalue | ||
sellvalue = commas(sellvalue) | sellvalue = commas(sellvalue) | ||
local currencyImg = | mw.log("sellvalue", sellvalue) | ||
local currencyImg = '' | |||
if(params.has_content(currencyImg)) then | if(params.has_content(currencyImg)) then | ||
currencyImg = string.format('[[File:%s|link=%s]] ', currencyImg, currency) | currencyImg = string.format('[[File:%s|link=%s]] ', currencyImg, currency) | ||
| Line 250: | Line 251: | ||
seller = seller, | seller = seller, | ||
location = location, | location = location, | ||
region = region, | |||
sellvalue = sellvalue, | sellvalue = sellvalue, | ||
sellSortValue = sellSortValue, | sellSortValue = sellSortValue, | ||