Documentation for this module may be created at Module:FreeBSD/doc
local p = {}
-- Gets a formatted FreeBSD port link
function p.GetsPortLink(frame)
if frame.args[2] == nil then
link = "http://www.freshports.org/" .. frame.args[1]
else
link = frame.args[2]
end
return '[' .. link .. ' ' .. frame.args[1] .. ']'
end
return p