Template:Ep/YTURLSwitcher
Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
Description
This template produces the YouTube URL of an episode of Critical Role, especially for the purpose of appending a timecode for references using {{Ep ref}}.
Copy/Paste Code
{{Ep/YTURLSwitcher|ep=|part=|vod=}}
Dependencies
- {{Ep/Switcher}}
Syntax
{{Ep/YTURLSwitcher|<ep=EPISODE>|<part=PART>|<vod=URL>}}
- {{{ep}}} is the name of the episode in any format (for example, 1x48 or Into the Frostweald).
- The first unnamed parameter will be treated as the episode name if {{{ep}}} is not provided.
- {{{part}}} applies only when the YouTube videos are split into multiple parts, as with Denouement, or if someone gets confused by the "Trial of the Take" episodes having "Part [X]" in the name.
{{{vod}}} is an option to use a manually-supplied URL as a backup in case no result is returned by the switcher. It takes last priority after any other URL found by the switcher.- The {{{vod}}} functionality is currently unsupported by the new Module:Ep/YTURLSwitcher.
Sample Output
{{Ep/YTURLSwitcher|ep=1x48|part=|vod=}}
...yields...
Script error: No such module "Ep/YTURLSwitcher".
See Also
The above text is transcluded from Template:Ep/YTURLSwitcher/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Ep/YTURLSwitcher/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Ep/YTURLSwitcher/doc. (View all subpages of this page.)