Vorlach:Booland4/Doku

Vun Wikipedia
Dokumentations-Unterseite Diese Seite ist die Dokumentations-Unterseite der Vorlach:Booland4.

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 Hilfe:Vorlagenprogrammierung#Überprüfung von Zeichenketten

Kopiervorlage[Om Gwelltegschd schaffe]

{{Booland4| | | | }}

Parameter[Om Gwelltegschd schaffe]

Drei Strings.

Beispiele[Om Gwelltegschd schaffe]

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

Nein

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

Ja

Wahrheitstabelle[Om Gwelltegschd schaffe]

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