WikiIndex:Parser functions: Difference between revisions

Jump to navigation Jump to search
(Fixes)
(→‎switch: Fixes)
 
Line 53: Line 53:
|#default = nothing
|#default = nothing
}}</pre>
}}</pre>
This is included in the template [[Template:switchExample|switchExample]].  <code><nowiki>{{switchExample|a}}</nowiki></code> gives '{{switchExample|a}}' because a is entered.  <code><nowiki>{{switchExample}}</nowiki></code> gives '{{switchExample}}', because the template was left blank.  <code><nowiki>{{switchExample|d}}</nowiki></code> gives '{{switchExample|d}}', because d doesn't exist in the template.
This is included in the template [[Template:Switch example|switch example]].  <code><nowiki>{{switch example|a}}</nowiki></code> gives '{{switch example|a}}' because a is entered.  <code><nowiki>{{switch example}}</nowiki></code> gives '{{switch example}}', because the template was left blank.  <code><nowiki>{{switch example|d}}</nowiki></code> gives '{{switch example|d}}', because d doesn't exist in the template.


==time==
==time==

Navigation menu