Module:FBI QR code: Difference between revisions
From Hacks Guide Wiki
More actions
try manual p tags |
more html stuff stuff |
||
| Line 42: | Line 42: | ||
if name and url then | if name and url then | ||
local qr = frame:callParserFunction('#qrlite', {url, format = 'svg', margin = '3'}) | local qr = frame:callParserFunction('#qrlite', {url, format = 'svg', margin = '3'}) | ||
table.insert(sections, {name, '<p>'..qr..frame:preprocess(' | table.insert(sections, {name, '<p class="stuff">'..qr..'<br>'..frame:preprocess('['..url..' '..url..']')..'</div>'}) | ||
end | end | ||
end | end | ||