Template:Both: Difference between revisions

From Vigyanwiki
Template>Kotniski
No edit summary
Template>Kotniski
No edit summary
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 16:05, 30 October 2007

Usage: {{both|s1|s2}}

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