Template:N1Epcode

This template generates episode codes in the form of (seasonnumber)x(episodenumber within season) from normal, continuous episode numbers. Usage: Example:   gives   can be passed as a second argument to turn off the leading #x. can be passed as a second argument to return only the season number. If the input is not a number, nothing is returned.