Template:YouTube
Jump to navigation
Jump to search
Video on
Do not use this template to link to material that violates copyright law. Links to such material must either be replaced with a non-copyvio link or removed immediately. |
This template is used on 25,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Video[edit source]
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):
Examples (2 parameters):
{{YouTube| 9wuGq4haOs0 | "Nessun dorma" }}
{{YouTube| id= 9wuGq4haOs0 | title= "Nessun dorma" }}
Show[edit source]
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):
Example (2 parameters):
{{YouTube| s= startrek | ''Star Trek: The Original Series'' }}
- Star Trek: The Original Series show on
{{YouTube| show= startrek | ''Star Trek: The Original Series'' }}
- Star Trek: The Original Series show on
Show id[edit source]
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):
Example (2 parameters):
{{YouTube| sid = K162qI1LPF8 | ''Sherlock Hound'' }}
- Sherlock Hound show on
{{YouTube| showid = K162qI1LPF8 | ''Sherlock Hound'' }}
- Sherlock Hound show on
User channel[edit source]
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):
{{YouTube| u = ABCNews }}
{{YouTube| user = ABCNews }}
{{YouTube| channel = ABCNews }}
Example (2 parameters):
{{YouTube| u = ABCNews | ABC News }}
{{YouTube| user = ABCNews | ABC News }}
{{YouTube| channel = ABCNews | ABC News }}
Suppress wikilink[edit source]
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[edit source]
- {{Cite AV media}} – when citing audio and visual media sources this template should be used instead
- All Wikibooks pages linked to http://*.youtube.com and to https://*.youtube.com