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:|||{{{2}}}}}
+
<span id="port" style="color:green">{{{1}}}</span><span id="space" style="color:lightgray">_</span><span id="lightbluetext" style="color:lightblue">
|{{#ifexist:||{{{2}}}}}
+
{{#ifeq:{{{2|+}}}|{{{2|-}}}|
 +
{{#ifexist:|||}}|
 +
{{#ifexist:||}}
 
}}
 
}}
 
</span><noinclude>
 
</span><noinclude>

Revision as of 03:44, 30 October 2015

{{{1}}}_ {{#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


Personal tools