Template:YouTube

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Video on YouTube

Documentation icon Template documentation[view] [edit] [history] [purge]
For the navigation template, see Template:YouTube navigation.
For the user template, see Template:YouTube user.

Usage

Video

Usage (one parameter):

  • {{YouTube | ID }}
  • {{YouTube | id= ID }}

Usage (two parameters):

  • {{YouTube | ID | TITLE }}
  • {{YouTube | id= ID | title= TITLE }}

Parameter descriptions:

  • id (or unnamed parameter 1) is the "YouTube id" which appears as http://www.youtube.com/watch?v=ID
  • title (or unnamed parameter 2) gives an optional description that may replace the default title "Video"

Examples (1 parameter):

  1. {{YouTube| 9wuGq4haOs0 }}
    Video on YouTube
  2. {{YouTube| id= 9wuGq4haOs0 }}
    Video on YouTube

Examples (2 parameters):

  1. {{YouTube| 9wuGq4haOs0 | "Nessun dorma" }}
    "Nessun dorma" on YouTube
  2. {{YouTube| id= 9wuGq4haOs0 | title= "Nessun dorma" }}
    "Nessun dorma" on YouTube

Show

Usage (one parameter):

  • {{YouTube | s = SHOWNAME }}
  • {{YouTube | show = SHOWNAME }}

Usage (two parameters):

  • {{YouTube | s= SHOWNAME | TITLE }}
  • {{YouTube | s= SHOWNAME | title= TITLE }}
  • {{YouTube | show= SHOWNAME | TITLE }}
  • {{YouTube | show= SHOWNAME | title= TITLE }}

Parameter descriptions:

  • s or show is the "YouTube show name" which appears as http://www.youtube.com/show/SHOWNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube| s= startrek }}
    YouTube show on YouTube
  2. {{YouTube| show= startrek }}
    YouTube show on YouTube

Example (2 parameters):

  1. {{YouTube| s= startrek | ''Star Trek: The Original Series'' }}
    Star Trek: The Original Series show on YouTube
  2. {{YouTube| show= startrek | ''Star Trek: The Original Series'' }}
    Star Trek: The Original Series show on YouTube

Show id

Usage (one parameter):

  • {{YouTube | sid = SHOWIDCODE }}
  • {{YouTube | showid = SHOWIDCODE }}

Usage (two parameters):

  • {{YouTube | sid= SHOWIDCODE | TITLE }}
  • {{YouTube | sid= SHOWIDCODE | title= TITLE }}
  • {{YouTube | showid= SHOWIDCODE | TITLE }}
  • {{YouTube | showid= SHOWIDCODE | title= TITLE }}

Parameter descriptions:

  • sid or showid is the "YouTube show ID code" which appears as http://www.youtube.com/show?p=SHOWIDCODE
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube| sid = K162qI1LPF8 }}
    YouTube show on YouTube
  2. {{YouTube| showid = K162qI1LPF8 }}
    YouTube show on YouTube

Example (2 parameters):

  1. {{YouTube| sid = K162qI1LPF8 | ''Sherlock Hound'' }}
    Sherlock Hound show on YouTube
  2. {{YouTube| showid = K162qI1LPF8 | ''Sherlock Hound'' }}
    Sherlock Hound show on YouTube

User channel

Usage (one parameter):

  • {{YouTube | u = USERCHANNELNAME }}
  • {{YouTube | user = USERCHANNELNAME }}
  • {{YouTube | channel = USERCHANNELNAME }}

Usage (two parameters):

  • {{YouTube | u = USERCHANNELNAME | TITLE }}
  • {{YouTube | u = USERCHANNELNAME | title= TITLE }}
  • {{YouTube | user = USERCHANNELNAME | TITLE }}
  • {{YouTube | user = USERCHANNELNAME | title= TITLE }}
  • {{YouTube | channel = USERCHANNELNAME | TITLE }}
  • {{YouTube | channel = USERCHANNELNAME | title= TITLE }}

Parameter descriptions:

  • u, user, or channel is the "YouTube user channel name" which appears as http://www.youtube.com/user/USERCHANNELNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube| u = ABCNews }}
    YouTube's channel on YouTube
  2. {{YouTube| user = ABCNews }}
    YouTube's channel on YouTube
  3. {{YouTube| channel = ABCNews }}
    YouTube's channel on YouTube

Example (2 parameters):

  1. {{YouTube| u = ABCNews | ABC News }}
    ABC News's channel on YouTube
  2. {{YouTube| user = ABCNews | ABC News }}
    ABC News's channel on YouTube
  3. {{YouTube| channel = ABCNews | ABC News }}
    ABC News's channel on YouTube

Suppress wikilink

The link to YouTube can be suppressed with the parameter |link=no. Example:

  • {{YouTube| 9wuGq4haOs0 | "Nessun dorma" | link= no }}
    "Nessun dorma" on YouTube

See also