Module:StoreLine: Difference between revisions

Jump to navigation Jump to search
65 bytes added ,  14:02, 3 April 2022
no edit summary
No edit summary
No edit summary
Line 186: Line 186:
function showCurrencyAmount(currency, amount)
function showCurrencyAmount(currency, amount)
mw.log("Show currency amount", amount)
mw.log("Show currency amount", amount)
return string.format('%s [[%s]]', commas._add(amount), currency)
local formatted = string.format('%s [[%s]]', commas._add(amount), currency)
mw.log("returning", formatted)
return formatted





Navigation menu