Template:Both

From Southern Maryland Wiki @ somd.com
Revision as of 04:55, 26 November 2008 by Admin (talk | contribs) (New page: {{#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 ''s...)
Jump to navigation Jump to search

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

See also: Template:Allof