Template:Epcode

From LGPedia
Revision as of 13:47, 22 January 2008 by Shiori (Talk | contribs)

Jump to: navigation, search

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