Difference between revisions of "Test Master"
From its-wiki.no
Josef.Noll (Talk | contribs) m (→Testing if) |
Josef.Noll (Talk | contribs) (→Testing if) |
||
Line 20: | Line 20: | ||
<pre> {{#if: {{{ThesisStatus}}}=Planned | yes | no}} - does not work, always yes</pre> | <pre> {{#if: {{{ThesisStatus}}}=Planned | yes | no}} - does not work, always yes</pre> | ||
− | {{#if: {{{ThesisStatus}}}= | + | {{#if: {{{ThesisStatus}}}=Open | yes | no}} |
__SHOWFACTBOX__ | __SHOWFACTBOX__ | ||
[[Category:IT-Help]] | [[Category:IT-Help]] |
Revision as of 22:02, 17 November 2014
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
A thesis has the status Planned
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