Template:LG2016Epcode

From LGPedia
Revision as of 17:08, 16 June 2016 by FH14 (Talk | contribs) (FH14 moved page Template:LG2016 to Template:LG2016Epcode: im dumb)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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