FANDOM


Video on Youtube

Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Youtube]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Description
This template is used to create a link to a Youtube video, channel, or show.
Syntax
Type {{Youtube|type|id|name}} somewhere.
"type" can be one of:
  • "show", "s", "showid", or "sid" for a show
  • "user", "u", or "channel" for a user's channel
  • Any other value is used as a video ID (e.g. http://www.youtube.com/watch?v=video)
"id" corresponds to:
  • a show's name if "show" or "s" is used (taken from the show's URL, e.g. http://www.youtube.com/show/show)
  • a show's ID if "showid" or "sid" is used (taken from the show's URL, e.g. http://www.youtube.com/show?p=showid)
  • a user's channel if "user", "u", or "channel" is used (taken from the channel's URL, e.g. http://www.youtube.com/user/user)
  • a video's title if a video is being linked to
"name" is the name of the channel, show, or video, and defaults to the name of the page the template is used on (except for videos, where it defaults to "Video")
Community content is available under CC-BY-SA unless otherwise noted.