Module:Souls: Difference between revisions

Jump to navigation Jump to search
m Call lang code once
m Change internal render to a local function
Line 5: Line 5:


-- Formats souls amount with an icon and styling
-- Formats souls amount with an icon and styling
function render(amount, args)
local function render(amount, args)
local args = args or {}
local args = args or {}
     local size  = args.size or '14px'
     local size  = args.size or '14px'