Template:Both/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Fire ページの作成:「{{Documentation subpage}} {{二次利用}} ===Usage=== {{tlc|{{BASEPAGENAME}}|string1|string2}} Produces '''1''' (equivalent to a true condition) if both ''string1'' an…」 |
(No difference)
|
Latest revision as of 12:28, 11 February 2021
![]() | This is a documentation subpage for Template:Both. It contains usage information, categories and other content that is not part of the original template page. |
![]() | この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Both/docを素材として二次利用しています。 Lua error in Module:Itemnumber at line 91: attempt to concatenate local 'qid' (a nil value). |
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
Produces '1' (equivalent to a true condition) if both 'string1' and 'string2' are non-empty; otherwise produces the empty string (false condition).
Parameter | Description | Type | Status | |
---|---|---|---|---|
String1 | 1 | First string | String | required |
String2 | 2 | Second string | String | required |
See also
- {{if}}