Template documentation follows
The template above may sometimes be partially or fully invisible.
Visit Template:YouTube/doc to edit this documentation. (How does this work?)

Usage

Copy the template code below for the required usage and paste it into the appropriate place in an article, fill the required fields, and remove any that you don't use. If used in the External links section, do not add an video or archive links. DO NOT USE UNNAMED PARAMETERS.

Note on YouTube Shorts, it is best before archiving/formatting a link from a Shorts to change its URL (https://www.youtube.com/shorts/xxxxxxxxxx) to a regular YouTube URL (https://www.youtube.com/watch?v=xxxxxxxxxx).

References

{{YouTube|video=|text=|channel=|name=|date=|quote=|subdomain=|parameter=|archivedate=|archiveurl=|archivefile=|nobackup=|nolive=}}

Required parameters

  • |video= Use the alphanumeric part of the url that comes after "watch?v=" in the url. Please do not include anything other than this.
  • |text= Title of the video.
  • |channel= Use the part of the URL that follows https://www.youtube.com/, for example, either user/channelname, channel/channelname, c/channelname, or @channelname
  • |name= The display name of the channel.
  • For archive options, see Backup links below.

Optional parameters

  • |date= Date the YouTube video was published online. In the format YYYY-MM-DD.
  • |quote= To include a quote.
  • |parameter= To create a link to a YouTube playlist, using |parameter=playlist?list.
  • |subdomain= For subdomains of youtube.com, such as music.youtube.com, the subdomain can be specified, for example, |subdomain=music.

Backup links

Maintenance categories:

Externals links

{{YouTube|channel=|name=}}

Required parameters

  • |channel= Use the alphanumeric part of the URL that follows https://www.youtube.com/, for example, either user/name, channel/name, or c/name.
  • |name= The display name of the channel.

Example(s)

{{YouTube|video=f98TW0-_10c|text=Lucky kid Visits the set of The Empire Strikes Back Dagobah set. Meets Mark Hamill|channel=channel/UCWAveNRXoE2mJ2xwWtA4TSw|name=Filmumentaries com|archivedate=20160126062413}}

Results in:

YouTube Lucky kid Visits the set of The Empire Strikes Back Dagobah set. Meets Mark Hamill on the Filmumentaries com YouTube channel (backup link)


For a playlist:

{{YouTube|video=PLiJsK_sFeeKygEepqlUoXIBwcyeGfXrXx|text=The Complete Music of Star Wars: The Old Republic|channel=channel/UCBGBXQmTRZ0uwfxvcCMfz_A|name=swtheoldrepublic|parameter=playlist?list|nobackup=1}}

Results in:

YouTube The Complete Music of Star Wars: The Old Republic on the swtheoldrepublic YouTube channel (backup link not available)


For a channel (External links):

{{YouTube|channel=channel/UCBGBXQmTRZ0uwfxvcCMfz_A|name=swtheoldrepublic}}

Results in:

YouTube swtheoldrepublic on YouTube (backup link needs confirmation (channel/UCBGBXQmTRZ0uwfxvcCMfz_A))

See also