Module:Template link general: Difference between revisions
Content deleted Content added
Johnrdorazio (talk | contribs) m 1 revision imported |
update from sandbox to avoid redundant code |
||
Line 98:
-- Build the arguments
local textPart = ""
local textPartBuffer = ""
textPartBuffer = textPartBuffer .. '|'
if _ne(args.nowiki) then val = nw(val) end▼
if val ~= "" then
if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end▼
▲ if _ne(args.nowiki) then val = nw(val) end
textPart = textPart .. '|' .. val▼
▲ if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end
textPartBuffer = ""
end
i = i+1
end
-- final wrap
local ret = titlePart .. textPart
|