Editing Module:Template link general
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 98: | Line 98: | ||
-- Build the arguments | -- Build the arguments | ||
local textPart = "" | local textPart = "" | ||
for i = 2, 11 do | |||
local ii = tostring(i) | |||
local val = args[ii] | |||
local val = args[ | if val ~= nil then val = mw.text.unstripNoWiki(val) else break end | ||
if _ne(args.nowiki) then val = nw(val) end | |||
if val ~= | if italic then val = '<span style="font-style:italic;">' .. val .. '</span>' end | ||
textPart = textPart .. '|' .. val | |||
end | end | ||
if _ne(args['12']) then textPart = textPart .. '|…' end | |||
-- final wrap | -- final wrap | ||
local ret = titlePart .. textPart | local ret = titlePart .. textPart |