Changes

Jump to navigation Jump to search

Template:Both

389 bytes added, 10:34, 20 February 2008
{{pp-template}}
{{#if:{{{1|}}}|{{#if:{{{2|}}}|1|}}|}}<noinclude>{{pp-template|small=yes}}''Usage:'' <nowiki>{{both|string1|string2}}</nowiki>

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>
Anonymous user

Navigation menu