WikiIndex:Parser functions: Difference between revisions

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


==time==
==time==

Navigation menu