Module:CommonFunctions: Difference between revisions

no edit summary
(Undo revision 900257 by Ritsu (talk))
Tag: Undo
No edit summary
Line 230: Line 230:
function link(page, text, prefix, suffix, dolink)
function link(page, text, prefix, suffix, dolink)
     local suffixString = ((suffix and suffix ~= "") and (' ' .. suffix) or '')
     local suffixString = ((suffix and suffix ~= "") and (' ' .. suffix) or '')
     local prefixString = ((prefix and prefix ~= "") and (' ' .. prefix) or '')
     local prefixString = ((prefix and prefix ~= "") and (prefix .. ' ') or '')


     if dolink == false then
     if dolink == false then