Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 TemplateData  





3 See also  














Template:Both






Acèh
Alemannisch
Ænglisc
Аԥсшәа
العربية
Արեւմտահայերէն

Asturianu
Авар
Azərbaycanca
تۆرکجه
Basa Bali

Banjar
 / Bân-lâm-gú
Basa Banyumasan
Башҡортса
Беларуская
Беларуская (тарашкевіца)

Bikol Central
Български
Boarisch
Bosanski
Буряад
Català
Чӑвашла
Cebuano
Chavacano de Zamboanga
Chi-Chewa
ChiShona
Cymraeg
Dansk
الدارجة
Deutsch
Eesti
Ελληνικά
Español
Esperanto
Euskara
فارسی
Fiji Hindi
Français
Gaeilge
Gagauz
Gàidhlig
Galego

  / Gõychi Konknni
Gungbe
/Hak-kâ-ngî
Хальмг

Hausa
Հայերեն
ि
Hrvatski
Bahasa Hulontalo
Ilokano
Bahasa Indonesia
Interlingua
Ирон
IsiXhosa
IsiZulu
Íslenska
עברית
Jawa

Kapampangan

Қазақша
Kernowek
Kongo
Kurdî
Ladin

Latgaļu
Latina
Latviešu
Lëtzebuergesch
Luganda
Lombard
Magyar
Madhurâ
ि
Македонски
Malagasy



مصرى

مازِرونی
Bahasa Melayu
 
Mfantse
 / Mìng-dĕ̤ng-nḡ
Mirandés
Мокшень
Монгол

Na Vosa Vakaviti
Nederlands


Нохчийн
Nordfriisk
Norfuk / Pitkern
Norsk bokmål
Norsk nynorsk
Novial
ି
Oʻzbekcha / ўзбекча

Pälzisch
Pangasinan
پنجابی

پښتو

Tok Pisin
Plattdüütsch
Português
Română
Rumantsch
Русский
Gagana Samoa

Scots
Seeltersk
Setswana
Shqip

Simple English
سنڌي
Slovenčina
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Suomi
Svenska
Tagalog
ி
Taqbaylit
Татарча / tatarça
 



Тоҷикӣ

Türkçe
Türkmençe
Тыва дыл
Basa Ugi
Українська
اردو
Vèneto
Tiếng Vit
Volapük

ייִדיש
Yorùbá

Zazaki

Batak Toba
 
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikibooks
Wikidata
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Booland)

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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Both in articles based on its TemplateData.

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

ParameterDescriptionTypeStatus
String11

First string

Stringrequired
String22

Second string

Stringrequired

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Both&oldid=1229212275"

Category: 
If-then-else templates
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 15 June 2024, at 14:15 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki