Module:Template link general: Difference between revisions
accept empty, unstrip non-nil only
mNo edit summary |
(accept empty, unstrip non-nil only) |
||
Line 96: | Line 96: | ||
for i = 2, 11 do | for i = 2, 11 do | ||
local ii = tostring(i) | local ii = tostring(i) | ||
local val = | local val = args[ii] | ||
if | if val ~= nil then break else val = mw.text.unstripNoWiki(val) end | ||
if not _ne(args.yeswiki) then val = nw(val) end | if not _ne(args.yeswiki) then val = nw(val) end | ||
if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end | if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end |