Module:Icon: Difference between revisions
From The Petit Planet Wiki
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 41: | Line 41: | ||
-- mw.logObject(args) | -- mw.logObject(args) | ||
local prefix = args.prefix or '' | local prefix = args.prefix or '' | ||
prefix = prefix:gsub('{space}', ' ') | prefix = prefix:gsub('{space}', ' ') | ||
suffix = | local suffix = ' Icon' -- always append " Icon" | ||
local icon = mw.html.create():tag('span'):addClass('custom-icon') | local icon = mw.html.create():tag('span'):addClass('custom-icon') | ||