Template:Both: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
({{pp-template}})
(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 23:51, 21 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).