Předłoha:Booland3
Napohlad
Tuta předłoha słuži der logischen Verknüpfung von drei Zeichenketten (Strings).
| Tutón přinošk ma so hišće přełožić. |
Die Vorlage erzeugt einen nichtleeren String (gibt also „wahr“ zurück), wenn alle Parameter nicht leer (also „wahr“) sind, ansonsten einen leeren String.
Siehe dazu auch de:Vorlagenprogrammierung#Überprüfung von Zeichenketten
Kopiervorlage
{{Booland3| | | }}
Parameter
Drei Strings.
Beispiele
{{#if: {{Booland3|xxx| | }}| haj | ně}}přinjese
ně
{{#if: {{Booland3|xxx|xxx|xxx}}| haj | ně}}přinjese
haj
Wahrheitstabelle
| Eingabe | Ausgabe |
|---|---|
| {{booland3| | | }} | |
| {{booland3| |1| }} | |
| {{booland3|1| | }} | |
| {{booland3|1|1| }} | |
| {{booland3| |1|1}} | |
| {{booland3|1| |1}} | |
| {{booland3|1|1|1}} | 1 |
| Jeli maš prašenje k tutej předłoze, da so móžeš na stronje Wikipedija diskusija:Projekt za předłohi prašeć. |
|