Thread:Byfield/@comment-18172179-20150607052929/@comment-220364-20150607063441

Switch is essentially a multiple "if" function. When it is in the template markup it normally looks like this:

The template looks at, in this example, the first non-parameter argument and sees if it fits any of the specific terms in the switch. If there are three variables defining how the template functions, then, , and would be used in the template mark up.

can be used with other parser functions or to insert a recurring variable term into text generated by the template.