pavement

Template:Test

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<span style="color:green">{{{1}}}</span><span style="color:lightgray">_</span><span id="lightbluetext" style="color:lightblue">{{#ifeq:{{{2|+}}} | {{{2|-}}} | {{{2}}} | }}</span><noinclude>
+
<span style="color:green">{{{1}}}</span><span style="color:lightgray">_</span><span id="lightbluetext" style="color:lightblue">{{#ifeq:{{{2|+}}}|{{{2|-}}}|{{{2}}}|}}</span><noinclude>
  
 
{{test/example}}
 
{{test/example}}
  
 
</noinclude>
 
</noinclude>

Revision as of 05:39, 30 October 2015

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

Usage:

Used to indicate a FreeBSD port.

Example:

{{test|ftp/curl|BSD}} produces ftp/curl.

{{test|ftp/curl|}} produces ftp/curl.

{{test|ftp/curl}} produces ftp/curl.


{{test|x11-wm/dwm|BSD}} produces x11-wm/dwm.

{{test|x11-wm/dwm|}} produces x11-wm/dwm.

{{test|x11-wm/dwm}} produces x11-wm/dwm.


template:test template:test/example


Personal tools