Vorlage:Booland4/Doku
Aus KKWiki
< Vorlage:Booland4
Zur Navigation springenZur Suche springenVersion vom 6. April 2009, 15:26 Uhr von Cäsium137 (Diskussion)
Diese Seite ist die Dokumentations-Unterseite der Vorlage: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
Inhaltsverzeichnis
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 |