pavement

Template:Port

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
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">{{{2}}}{{#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:|||{{{2}}}}}
|{{#ifexist:||}}
+
|{{#ifexist:||{{{2}}}}}
 
}}
 
}}
 
</span><noinclude>
 
</span><noinclude>

Revision as of 03:40, 30 October 2015

{{{1}}}_{{{2}}}{{#ifeq:+|-|{{#ifexist:|||{{{2}}}}} |{{#ifexist:||{{{2}}}}} }}

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


Personal tools