Difference between revisions of "Template:KMEpcode"

From LGPedia
Jump to: navigation, search
m
(No difference)

Revision as of 13:53, 14 January 2008

This template generates episode codes in the form of (seasonnumber)x(episodenumber within season) from normal, continuous episode numbers.
Usage: {{KMepcode|Normal episode number}}
Example: {{KMepcode|260}} gives Template:KMepcode
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.