한국   대만   중국   일본 
Πρ?τυπο:If both - Βικιπα?δεια Μετ?βαση στο περιεχ?μενο

Πρ?τυπο : If both

Απ? τη Βικιπα?δεια, την ελε?θερη εγκυκλοπα?δεια
Documentation icon Τεκμηρ?ωση προτ?που [ προβολ? ] [ επεξεργασ?α ] [ ιστορικ? ] [ εκκαθ?ριση ]


This helper template is designed to be used in other templates. It can help editors create template code that is self documenting.

Χρ?ση

If a and b then true.

If a nor b then false.

If a or b then false.

It can be used to replace the construct: {{#if:a|{{#if:b|true|false}}|false}}

Παραδε?γματα

{{if both| a | b |true|false}} → true

{{if both| a | |true|false}} → false

{{if both| | b |true|false}} → false

{{if both| | |true|false}} → false

Δε?τε επ?ση?