Open main menu

Template:Both

Revision as of 22:11, 30 August 2009 by Admin (talk | contribs) (New page: {{#if:{{{1|}}}|{{#if:{{{2|}}}|1|}}|}}<noinclude>''Usage:'' <nowiki>{{both|string1|string2}}</nowiki> Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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