Test Master
From its-wiki.no
Revision as of 22:15, 17 November 2014 by Josef.Noll (Talk | contribs)
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
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: ThesisStatus was not specified
testing Template:Thesis with Parameter: Thesis status planned
testing "weired" parameter 1 ...: 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: Planned -
- {{{ThesisStatus}}} is not executed
- {{ThesisStatus}} points to template Template:ThesisStatus
{{#ifeq:{{{Choose|}}}|true|this is true|this is false}} creates false...
this is false
Testing if
{{#if: {{{ThesisStatus}}}=Planned | yes | no}} - does not work, always yes
yes