Vorlage:Booland4/Doku
Aus KKWiki
< Vorlage:Booland4
Zur Navigation springenZur Suche springenVersion vom 6. April 2009, 15:26 Uhr von Cäsium137 (Diskussion) (AZ: Die Seite wurde neu angelegt: <noinclude>{{Dokumentation/Dokuseite}}</noinclude> Diese Vorlage dient der logischen Verknüpfung von '''…)
Diese Seite ist die Dokumentations-Unterseite der Vorlage:Booland4. |
Diese Vorlage dient der logischen Verknüpfung von drei 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}}| Ja | Nein}}
ergibt
Nein
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 |