Anonymous

Module:CommonFunctions: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 228: Line 228:
end
end


function link(page, text)
function link(page, text, suffix)
     return '[[' .. page .. '|' .. (text or page) .. ']]'
     return '[[' .. page .. '|' .. (text or page) .. (suffix and (' ' .. suffix)) ']]'
end
end