Vorlage:If: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Florian K
(if-Funktion)
 
imported>Florian K
K (</noinclude>)
Zeile 18: Zeile 18:
  
 
The third argument is optional.
 
The third argument is optional.
 +
</noinclude>

Version vom 25. Mai 2006, 15:19 Uhr

Usage

Tests whether a value is defined.

{{if|{{{Value|}}}
 |(Text to display if value is defined)
 |(Text to display otherwise)
}}

OR

{{if|{{{Value|}}}
 |then=(Text to display if value is defined)
 |else=(Text to display otherwise)
}}

The third argument is optional.