Vorlage:Booland4/Doku: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
No-L (Diskussion | Beiträge) K 1 Version: Vorlagen übernehmen |
No-L (Diskussion | Beiträge) K ersetze prettytable durch wikitable |
||
| Zeile 24: | Zeile 24: | ||
== Wahrheitstabelle == | == Wahrheitstabelle == | ||
{| class=" | {| class="wikitable" style="font-family:monospace;" | ||
! Eingabe | ! Eingabe | ||
! Ausgabe | ! Ausgabe | ||
Aktuelle Version vom 8. Februar 2014, 14:11 Uhr
| 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 [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 |