Module:Variable arguments: Difference between revisions

Restore bold
ArrowHead294 (talk | contribs)
mNo edit summary
Line 48: Line 48:
result = result:sub(1, -3)
result = result:sub(1, -3)
if result == nil then result = "" end
return frame:preprocess(result)
return frame:preprocess(result)
end
end
Line 67: Line 68:
end
end
if result == "" then
if result == "" or result == nil then
result = "<div style=\"margin-left: 10px;\">'''{{w|{{ARTICLEROOTPAGENAME}}}}'''</div>\n" .. result
result = "<div style=\"margin-left: 10px;\">'''{{w|{{ARTICLEROOTPAGENAME}}}}'''</div>\n" .. result
end
end