Module:Card: Difference between revisions
From The Petit Planet Wiki
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 26: | Line 26: | ||
-- 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 card = mw.html.create():tag('div'):addClass('custom-card noborder') | local card = mw.html.create():tag('div'):addClass('custom-card noborder') | ||