Test Master
A thesis has the status Planned
testing if
{{#ifeq:{{{ThesisStatus|}}}|{{{ThesisStatus|-}}}| ThesisStatus was specified (and may be empty) | ThesisStatus was not specified }}
testing ThesisStatus in an ifeq: {{#ifeq:|-| ThesisStatus was specified (and may be empty) | ThesisStatus was not specified }}
testing Template:Thesis with Parameter: {{#if: '
| by | |
|---|---|
| Supervisor(s) | |
| Due date | |
| Status | Ongoing |
| Problem description: | |
| Methods and Tools: | |
| Time schedule | |
| Pre-Knowledge | |
| Approved | by |
| Keywords | |
| Depiction |
this page was created by Special:FormEdit/Thesis, and can be edited by Special:FormEdit/Thesis/Test Master
| Thesis status planned | Thesis status something else }}
testing "weired" parameter 1 ...: {{#if: | Parameter 1 - {{{1}}} is defined and non-null/non-empty | Parameter 1 {{{1}}} is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc.}}
testing ifeq
This page tests the if function for selecting a template
{{#ifeq:{{NAMESPACE}}|UNIKUM|Form:UNIKUM_Kollokvie{{!}}Add UNIKUM Kollokvie}}
What is ThesisStatus: Ongoing -
- {{{ThesisStatus}}} is not executed
- {{ThesisStatus}} points to template Template:ThesisStatus
{{#ifeq:Template:ThesisStatus|Planned|Form:UNIKUM_Kollokvie|Add UNIKUM Kollokvie}}
{{#ifeq:{{{Choose|}}}|true|this is true|this is false}} creates false...
{{#ifeq:Template:Choose|true|this is true|this is false}}
Testing if
{{#if: {{{ThesisStatus}}}=Planned | yes | no}} - does not work, always yes
{{#if: {{{ThesisStatus}}}=Open | yes | no}}