Template:MIHEpcode
From LGPedia
Revision as of 00:50, 5 June 2011 by FH14 (Talk | contribs) (Protected "Template:MIHEpcode": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
This template generates episode codes in the form of (seasonnumber)x(episodenumber within season) from normal, continuous episode numbers.
Usage: {{MIHEpcode|Normal episode number}}
Example: {{MIHEpcode|260}}
gives 1x260raw
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.