Module:Sandbox/LVL: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Replaced content with "local p = {} local Icon = require('Module:Icon') function p.parse(frame) local input = frame.args[1] or "" local size = frame.args[2] or "25px" if input == "" then return "" end local result = {} -- Split by comma for hero in string.gmatch(input, '([^,]+)') do -- Trim whitespace hero = hero:match("^%s*(.-)%s*$") -- Generate the icon using the existing module logic -- We fake a frame to pass to the ex..." Tag: Replaced |
No edit summary |
||
| Line 4: | Line 4: | ||
function p.parse(frame) | function p.parse(frame) | ||
local input = frame.args[1] or "" | local input = frame.args[1] or "" | ||
local size = frame.args[2] or " | local size = frame.args[2] or "30px" | ||
if input == "" then return "" end | if input == "" then return "" end | ||