Difference between revisions of "Template:Both"
Jump to navigation
Jump to search
blackwiki>Kotniski |
blackwiki>Kotniski |
||
| Line 2: | Line 2: | ||
Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition). | Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition). | ||
| + | |||
| + | See also: [[Template:Allof]] | ||
[[Category:Boolean, register, and condition testing templates]]</noinclude> | [[Category:Boolean, register, and condition testing templates]]</noinclude> | ||
Revision as of 11:00, 2 November 2007
Usage: {{both|string1|string2}}
Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).
See also: Template:Allof