Template:Ep ref/testcases

Live version
Note that this uses Module:Ep ref.

{ep ref|ep=3x22|1:23:45|1:23:46|name="ajit"}}


 * ep ref template with all fields:
 * standard ep ref template:
 * module:ep ref:
 * ep ref with nonexistent episode code:
 * ep ref with nonexistent episode name:
 * ep ref with custom episode name:
 * module:ep ref with custom episode name:
 * ep ref with part:
 * TM/4SD (full episode titles)

Timecode formatting

 * ep ref with seconds as lump sum:
 * ep ref with '0h0m0s' timecode:
 * ep ref with 2 '0h0m0s' timecodes:
 * ep ref with invalid starttime:
 * ep ref with invalid endtime:
 * ep ref with invalid starttime (no YT yet):
 * ep ref with invalid endtime (no YT yet):
 * ep ref with no time:

Cite=needed
cite=needed no timestamp

cite=needed w/timestamp

Sandbox version
Note that this uses Module:Ep ref/sandbox.

{ep ref/sandbox|ep=3x22|1:23:45|1:23:46|name="ajit"}}


 * ep ref template with all fields:
 * standard ep ref template:
 * module:ep ref:
 * ep ref with nonexistent episode code:
 * ep ref with nonexistent episode name:
 * ep ref with custom episode name:
 * module:ep ref with custom episode name:
 * ep ref with part:
 * TM/4SD (full episode titles)

Timecode formatting

 * ep ref with seconds as lump sum:
 * ep ref with '0h0m0s' timecode:
 * ep ref with 2 '0h0m0s' timecodes:
 * ep ref with invalid starttime:
 * ep ref with invalid endtime:
 * ep ref with invalid starttime (no YT yet):
 * ep ref with invalid endtime (no YT yet):
 * ep ref with no time:

Cite=needed
cite=needed no timestamp

cite=needed w/timestamp

Sample: