8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 26: | Line 26: | ||
if type == 'links' then | if type == 'links' then | ||
returnstrformat = function(linkprefix, word, linkpostfix) | returnstrformat = function(linkprefix, word, linkpostfix) | ||
return | return '[[' .. linkprefix .. word .. linkpostfix .. ']]' | ||
end | end | ||
elseif type == 'templates' then | elseif type == 'templates' then | ||
Line 41: | Line 41: | ||
returnstr = returnstr .. returnstrformat(linkprefix, word, linkpostfix) | returnstr = returnstr .. returnstrformat(linkprefix, word, linkpostfix) | ||
end | end | ||
return returnstr | return prefix .. returnstr .. postfix | ||
end | end | ||