Difference between revisions of "Template:Both"

From Southern Maryland Wiki @ somd.com
Jump to navigation Jump to search
(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...)
m (1 revision)
 
(No difference)

Latest revision as of 05:13, 26 November 2008

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