pavement

Template:Port

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 16: Line 16:
 
<nowiki>{{prt|ftp/curl}}</nowiki> produces {{prt|ftp/curl|}}
 
<nowiki>{{prt|ftp/curl}}</nowiki> produces {{prt|ftp/curl|}}
  
 
 
 
<nowiki>{{#ifeq:{{{2|+}}}|{{{2|-}}}
 
|{{#ifexist:{{{1}}}|[[{{{1}}}]]|[[w:{{{1}}}|{{{1}}}]]}}
 
|{{#ifexist:{{{1}}}|[[{{{1}}}]]|[[w:{{{1}}}]]}}
 
}}<nowiki>
 
 
</noinclude>
 
</noinclude>

Revision as of 03:32, 30 October 2015

{{{1}}}_{{#ifeq:+|-{{{2}}}|{{#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