Difference between revisions of "Template:Both/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mark85296341
(Undid revision 396479384 by Mark85296341 (talk))
Line 8: Line 8:
 
<includeonly>
 
<includeonly>
 
[[Category:Boolean, register, and condition testing templates]]
 
[[Category:Boolean, register, and condition testing templates]]
 +
[[Category:Wikipedia formatting and function templates]]
  
 
[[cy:Nodyn:Y ddau]]
 
[[cy:Nodyn:Y ddau]]
 
[[es:Plantilla:Both]]
 
[[es:Plantilla:Both]]
 
</includeonly>
 
</includeonly>

Revision as of 21:16, 17 August 2011

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