Template:MAEpcode

From LGPedia
Revision as of 16:04, 24 March 2009 by 199.248.185.22 (Talk)

Jump to: navigation, search

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