Template:Both: Difference between revisions

From Vigyanwiki
Template>Kotniski
No edit summary
Template>Kotniski
No edit summary
Line 1: Line 1:
{{#if:{{{1|}}}|{{#if:{{{2|}}}}|1|}}|}}
{{#if:{{{1|}}}|{{#if:{{{2|}}}}|1|}}|}}
<noinclude>''Usage:'' <nowiki>{{both|s1|s2}}</nowiki>
Returns '''1''' if both s1 and s2 are non-empty; otherwise returns the empty string.</noinclude>

Revision as of 15:56, 30 October 2007

Usage: {{both|s1|s2}}

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