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

Revision as of 03:56, 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