Template:Ep ref/doc

Description

 * This template will make it easier to add references to episodes, especially when including timecodes.

Copy/Paste Code


Parameters

 * ' and ' (optional) both function as their respective attributes in the &lt;ref&gt; tag.
 * Use quotation marks around the REFGROUP or REFNAME in the template, just like you would for a normal &lt;ref&gt; tag.
 * To invoke a named reference, just use the name (and its corresponding group, if applicable):
 * If you do not supply, then a reference name will be automatically generated in the format name="ep part start end intro more"
 * All formats for will be handled the same, so ep=4x08 is the same as ep=46, ep=Episode 46, ep=Cindergrove Revisited, and  ep=Cindergrove Revisited .
 * Thus, you can simply copy/paste the same reference to other places where you want the citation to appear, and the template will automatically combine them into the same reference in the references section of the article.
 * Grouped references are considered completely separate from other groups of references. Therefore, if you are invoking a named reference that belongs to a group, then you must also include that same group in the invocation.  In other words, the following two references are completely separate from each other, even though they have the same name:
 *  is any text you want to include before the episode reference. Wikimarkup is allowed.
 *  is the episode code in [chapter]x[episode] format. For example,  is:  ep=1x01
 * If is left blank, then the current page's name will be used.  This template will be updated at a later time to detect whether the current page is an episode page or not.
 *  indicates which part of an episode you are referencing when Geek & Sundry posts multiple parts of an episode on YouTube.  Simply use a number, such as 1 or 2 or 3.
 * START and END are timecodes for the section of the episode being referenced.  They are unnamed parameters, meaning you don't type them after a parameter name and equals sign.
 * START and END timecodes take the format of "1:23:45" (hours:minutes:seconds).  "45" is interpreted as 45 seconds.  "3:45" is interpreted as 3 minutes and 45 seconds.
 * START may be used without END, and the reference text will change accordingly.
 * END cannot be used without START, because the template will interpret the END timecode as START.
 *  is the direct YouTube URL for an episode.
 * The template will use the user-supplied URL only as a last resort if a matching URL for the episode name is not found.
 * Long or short YouTube URLs will work, but they should link directly to the episode (not a playlist, timecode, or channel).
 *  is any additional text that should be appended to the citation.

Sample Output

 * 
 * produces this citation:

Ref Group "sample":