Template:LASTEpcode: Difference between revisions

From LGPedia
Jump to navigationJump to search
Kevin (talk | contribs)
No edit summary
m Protected "Template:LASTEpcode": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 00:34, 5 June 2011

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