Difference between revisions of "Template:Both"

From blackwiki
Jump to navigation Jump to search
blackwiki>Kotniski
blackwiki>Kotniski
Line 1: Line 1:
A0{{{0|}}}A1{{{1|}}}A{{{2|}}}A{{{3|}}}A{{{4|}}}B
+
{{#if:{{{1|}}}|{{#if:{{{2|}}}|1|}}|}}<noinclude>''Usage:'' <nowiki>{{both|s1|s2}}</nowiki>
 
 
<!--{{#if:{{{2|}}}|{{#if:{{{3|}}}}|1|}}|}}<noinclude>''Usage:'' <nowiki>{{both|s1|s2}}</nowiki>
 
  
 
Returns '''1''' if both s1 and s2 are non-empty; otherwise returns the empty string.</noinclude>
 
Returns '''1''' if both s1 and s2 are non-empty; otherwise returns the empty string.</noinclude>

Revision as of 10:35, 30 October 2007

Usage: {{both|s1|s2}}

Returns 1 if both s1 and s2 are non-empty; otherwise returns the empty string.