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:
local i = 2
while args[i] do
local val = mw.text.trim(mw.text.unstripNoWiki(args[i]))
if val ~= nil then val = mw.text.unstripNoWiki(val) else break end
textPartBuffer = textPartBuffer .. '|'
if val ~= "" then
Anonymous user