Difference between revisions of "Template:Both"

From blackwiki
Jump to navigation Jump to search
blackwiki>Riana
({{pp-template}})
blackwiki>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 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).