Difference between revisions of "Template:Both/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (→‎See also: amended)
imported>Zyxw
({{high-risk|630,000+}})
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{high-risk|630,000+}}
  
 
===Usage===
 
===Usage===

Revision as of 03:57, 16 September 2014

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Both

Produces '1' (equivalent to a true condition) if both 'string1' and 'string2' are non-empty; otherwise produces the empty string (false condition).

Template parameters

ParameterDescriptionTypeStatus
String11

First string

Stringrequired
String22

Second string

Stringrequired

See also