Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Card: Difference between revisions

From The Petit Planet Wiki
No edit summary
No edit summary
Line 26: Line 26:
-- mw.logObject(args)
-- mw.logObject(args)
local prefix = args.prefix or ''
local prefix = args.prefix or ''
local suffix = args.suffix or ''
prefix = prefix:gsub('{space}', ' ')
prefix = prefix:gsub('{space}', ' ')
suffix = suffix:gsub('{space}', ' ')
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')