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 name, number, or [chapter]x[episode] code. For example,  is "ep=1x01".  All episode formats are accepted, including ep=1x01, ep=1, ep=01, ep=001, ep=Arrival at Kraghammer, and ep= Arrival at Kraghammer .
 * If is left blank, then the containing page will be added to  [[:Category:Ep refs with undefined episodes ]].
 *  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, and it is optional.
 * This template will automatically use the YouTube URL of any episode in our database (Ep/Switcher and Ep/YTURLSwitcher, which work together).
 * This 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).
 *  causes the cite tag to appear immediately after the period for the main sentence.  Entering any value (such as "1" or "true", or even "0" or "false") will cause the citation tag to be applied.
 *  is any additional text that should be appended to the citation.
 *  adds a "not safe for work" warning to the end of an ep ref.  Entering any value (such as "1" or "true", or even "0" or "false") will cause the NSFW warning to be applied.

Sample Output

 * 
 * produces this citation:

Ref Group "sample":