Template:Both/doc

From Azupedia
Revision as of 12:28, 11 February 2021 by imported>Fire (ページの作成:「{{Documentation subpage}} {{二次利用}} ===Usage=== {{tlc|{{BASEPAGENAME}}|string1|string2}} Produces '''1''' (equivalent to a true condition) if both ''string1'' an…」)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).

TemplateData

  1. 転送 Template:TemplateData header

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