{{{1}}}_{{#if:{{{2}}}|{{{2}}}|}}
Usage:
Used to indicate a FreeBSD port.
Example:
{{port|ftp/curl|BSD}} produces ftp/curl BSD.
{{port|ftp/curl|}} produces ftp/curl .
{{port|ftp/curl}} produces ftp/curl