• Home
  • Random
  • Log in
  • Settings
  • About Azupedia
  • Disclaimers
Azupedia

Template:Both

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Bothを素材として二次利用しています。
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

  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[Edit template data]

ParameterDescriptionTypeStatus
String11

First string

Stringrequired
String22

Second string

Stringrequired

See also

  • {{if}}
The above documentation is transcluded from Template:Both/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://wiki.tiffa.net/w/index.php?title=Template:Both&oldid=1023"
Last edited on 11 February 2021, at 12:27

Languages

      This page is not available in other languages.

      Azupedia
      • This page was last edited on 11 February 2021, at 12:27.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Azupedia
      • Disclaimers
      • Desktop