Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,193
edits
(give up and just remove the url below the QR code) |
(format png, try wrap in <p> again) |
||
Line 41: | Line 41: | ||
local url = args['url' .. tostring(v)] | local url = args['url' .. tostring(v)] | ||
if name and url then | if name and url then | ||
local qr = frame:callParserFunction('#qrlite', {url, format = ' | local qr = frame:callParserFunction('#qrlite', {url, format = 'png', margin = '3'}) | ||
table.insert(sections, {name, qr}) | table.insert(sections, {name, '<p class="qrcode">'..qr..'</p>'}) | ||
end | end | ||
end | end |