Vorlage:Booland4

Aus HaDiKo Wiki
Zur Navigation springen Zur Suche springen

Dokumentation[Bearbeiten]

Diese Vorlage dient der logischen Verknüpfung von vier Zeichenketten (Strings).

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 unter [1]

Kopiervorlage

{{Booland4| | | | }}

Parameter

Drei Strings.

Beispiele

  • {{#if: {{Booland4|xxx| | | }}| Ja | Nein}} ergibt

Nein

  • {{#if: {{Booland4|xxx|xxx|xxx|xxx}}| Ja | Nein}} ergibt

Ja

Wahrheitstabelle

Eingabe Ausgabe
{{booland4| | | | }}
{{booland4| |1| | }}
{{booland4|1| | | }}
{{booland4|1|1| | }}
{{booland4| | |1| }}
{{booland4| |1|1| }}
{{booland4|1| |1| }}
{{booland4|1|1|1| }}
{{booland4| | | |1}}
{{booland4| |1| |1}}
{{booland4|1| | |1}}
{{booland4|1|1| |1}}
{{booland4| | |1|1}}
{{booland4| |1|1|1}}
{{booland4|1| |1|1}}
{{booland4|1|1|1|1}} 1