Template:YouTube/doc
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
For the navigation template, see Template:YouTube navigation.
For the user template, see Template:YouTube user.
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. |
Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/Y' not found.
Usage
editVideo
editUsage (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=Template:Hilite
- 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
editUsage (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/Template:Hilite
- title gives an optional description that may replace the default title (PAGENAME)
Examples (1 parameter):
{{YouTube| s= startrek }}
- YouTube/doc show on YouTube
{{YouTube| show= startrek }}
- YouTube/doc show on YouTube
Example (2 parameters):
{{YouTube| s= startrek | ''Star Trek: The Original Series'' }}
{{YouTube| show= startrek | ''Star Trek: The Original Series'' }}
Show id
editUsage (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=Template:Hilite
- title gives an optional description that may replace the default title (PAGENAME)
Examples (1 parameter):
{{YouTube| sid = K162qI1LPF8 }}
- YouTube/doc show on YouTube
{{YouTube| showid = K162qI1LPF8 }}
- YouTube/doc show on YouTube
Example (2 parameters):
{{YouTube| sid = K162qI1LPF8 | ''Sherlock Hound'' }}
- Sherlock Hound show on YouTube
{{YouTube| showid = K162qI1LPF8 | ''Sherlock Hound'' }}
- Sherlock Hound show on YouTube
User channel
editUsage (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/Template:Hilite
- 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
editThe 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- {{Cite AV media}} – when citing audio and visual media sources this template should be used instead
- All Wikipedia pages linked to http://*.youtube.com and to https://*.youtube.com