Module:FreeBSD
From Nasqueron Agora
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.url == nil then
link = frame.args.url
elseif frame.args.url == '' then
link = frame.args.url
else
link = "http://www.freshports.org/" .. frame.args.port
end
return '[' .. link .. ' ' .. frame.args.port .. ']'
end
return p