Template:Both: Difference between revisions

From Vigyanwiki
Template>Riana
({{pp-template}})
Template>Plastikspork
(remove non-existing link)
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 05:21, 22 August 2009

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).