Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,163
edits
(format png, try wrap in <p> again) |
(try adding url again) |
||
Line 42: | Line 42: | ||
if name and url then | if name and url then | ||
local qr = frame:callParserFunction('#qrlite', {url, format = 'png', margin = '3'}) | local qr = frame:callParserFunction('#qrlite', {url, format = 'png', margin = '3'}) | ||
table.insert(sections, {name, '<p class="qrcode">'..qr..'</p>'}) | table.insert(sections, {name, '<p class="hb-qrcode-image">'..qr..'</p><p class="hb-qrcode-link">['..url..' '..url..']</p>'}) | ||
end | end | ||
end | end |