Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,193
edits
(tabber again) |
(try manual p tags) |
||
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, qr..frame:preprocess('<br>['..url..' '..url..']')}) | table.insert(sections, {name, '<p>'..qr..frame:preprocess('<br>['..url..' '..url..']')..'</p>'}) | ||
end | end | ||
end | end | ||
Line 52: | Line 52: | ||
local finalSections = '' | local finalSections = '' | ||
for k, v in ipairs(sections) do | for k, v in ipairs(sections) do | ||
finalSections = finalSections..' | finalSections = finalSections..'|-|'..v[1]..'='..v[2] | ||
end | end | ||