Template:Season switch

This template is intended to be used within infobox templates, e.g. cast and crew. It converts user value for "season" parameter to linked text.

To add this functionality to an infobox, add  field within season's   tags, e.g.:

On article pages, users can fill the infobox as normal, i.e. " ". If the &lt;user value&gt; is one that is defined in this template, it converts it to links to the appropriate season(s). If the &lt;user value&gt; is not defined within this template, this template returns the &lt;user value&gt; without any edits.

Notes:
 * All spaces within &lt;user value&gt; are ignored.
 * For one season, defined values include "1", "one", "1st", and "first". This template is case insensitive (i.e. "FiRsT" returns same result as "first").
 * For multiple season, commas, ampersand, and dashes can be used (e.g. "1,2", "1&2", "1-2", "1–2", "1–2").
 * When commas and ampersand are used, all seasons must be listed (e.g. "1,2,4", "2&3&4").
 * When dashes are used, it includes any seasons between the numbers (e.g. "1-4" includes season 2 and 3).

Examples of what this template returns for various &lt;user value&gt; :