Module:Template link general: Difference between revisions
update from sandbox to avoid redundant code
(update code - remove trailing blank parameters) |
(update from sandbox to avoid redundant code) |
||
Line 101: | Line 101: | ||
local i = 2 | local i = 2 | ||
while args[i] do | while args[i] do | ||
local val = | local val = mw.text.trim(mw.text.unstripNoWiki(args[i])) | ||
textPartBuffer = textPartBuffer .. '|' | textPartBuffer = textPartBuffer .. '|' | ||
if val ~= "" then | if val ~= "" then |