Module:Template link general: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content deleted Content added
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 = args[i] |
local val = mw.text.trim(mw.text.unstripNoWiki(args[i])) |
||
if val ~= nil then val = mw.text.unstripNoWiki(val) else break end |
|||
textPartBuffer = textPartBuffer .. '|' |
textPartBuffer = textPartBuffer .. '|' |
||
if val ~= "" then |
if val ~= "" then |