Template:Port
From FreeBSDwiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | <span id="port" style="color:green">{{{1}}}</span><span id="space" style="color:lightgray">_</span><span id="lightbluetext" style="color:lightblue">{{#ifeq:{{{2|+}}}|{{{2|-}}}|{{#ifexist:|||}} | + | <span id="port" style="color:green">{{{1}}}</span><span id="space" style="color:lightgray">_</span><span id="lightbluetext" style="color:lightblue">{{{2}}}{{#ifeq:{{{2|+}}}|{{{2|-}}}|{{#ifexist:|||}} |
|{{#ifexist:||}} | |{{#ifexist:||}} | ||
}} | }} |
Revision as of 03:35, 30 October 2015
{{{1}}}_{{{2}}}{{#ifeq:+|-|{{#ifexist:|||}} |{{#ifexist:||}} }}
Usage:
Used to indicate a FreeBSD port.
Example:
{{prt|ftp/curl|BSD}} produces ftp/curl BSD.
{{prt|ftp/curl|}} produces ftp/curl .
{{prt|ftp/curl}} produces ftp/curl