Content deleted Content added
m →Repetition: syntaxhighlight lang="moin" |
m →Conditional statement: <syntaxhighlight> |
||
Line 113:
{{Tim|if}} contains:
----
<
----
Line 119:
or in short form:
<syntaxhighlight lang="moin">[ else[test|] | [ test[test|] | [then|] ] ]</syntaxhighlight>
If [test] is defined this reduces to
<syntaxhighlight lang="moin">[ else[test] | [ test[test] | [then|] ] ]</syntaxhighlight>
For test equal to null this reduces to [else|]; otherwise, if no parameter name starting with "test" or "else" applies except these themselves, then this reduces to [then|].
Line 129:
If [test] is undefined we get
<syntaxhighlight lang="moin">[ else | [then|] ]</syntaxhighlight>
==Last-but technique==
|