Difference between revisions of "Test Master"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
Line 16: | Line 16: | ||
</pre> | </pre> | ||
{{#ifeq:{{Choose|}}|true|this is true|this is false}} | {{#ifeq:{{Choose|}}|true|this is true|this is false}} | ||
+ | |||
+ | === Testing if === | ||
+ | <pre> {{#if: string1=string2 | yes | no}}</pre> | ||
+ | |||
+ | {{#if: {{ThesisStatus}}=Planned | yes | no}} | ||
__SHOWFACTBOX__ | __SHOWFACTBOX__ | ||
[[Category:IT-Help]] | [[Category:IT-Help]] |
Revision as of 21:58, 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: string1=string2 | yes | no}}
yes