Module:Store locations list: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 205: Line 205:
             buySortValue = buyvalue
             buySortValue = buyvalue
             buyvalue = commas(buyvalue)
             buyvalue = commas(buyvalue)
             local currencyImg = ''
 
             if(params.has_content(currencyImg)) then
buyvalue = string.format('%s [[%s]]', buyvalue, currency)
                currencyImg = string.format('[[File:%s|link=%s]] ', currencyImg, currency)
 
                buyvalue = currencyImg .. buyvalue
 
             end
             -- local currencyImg = ''
             -- if(params.has_content(currencyImg)) then
            --    currencyImg = string.format('[[File:%s|link=%s]] ', currencyImg, currency)
            --    buyvalue = currencyImg .. buyvalue
             -- end
         else
         else
             buyvalue = editbtn -- If sellvalue can't be converted to a number it will default to the edit button
             buyvalue = editbtn -- If sellvalue can't be converted to a number it will default to the edit button

Navigation menu