Difference between revisions of "Template:YouTube"

From Better Than Wolves Wiki
Jump to: navigation, search
m
Line 12: Line 12:
 
  |YouTube
 
  |YouTube
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>
 +
 +
{{Documentation subpage}}
  
 
== Usage ==
 
== Usage ==

Revision as of 10:34, 14 April 2013

Video on YouTube
[view] [edit] [history] Documentation icon Template documentation

Usage

Video links

{{YouTube|id=id|title=title}}

  • id is the "YouTube id" which appears as http://www.youtube.com/watch?v=id
  • title gives an optional description that may replace the default title "Video"
  • Example: {{YouTube|id=9wuGq4haOs0|title="Nessun dorma"}} produces "Nessun dorma" on YouTube

Show links

{{YouTube|show=showname|title}}

  • 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)
Note

The show field may be abbreviated as s

{{YouTube|s=showname|title}}

Show id links

{{YouTube|showid=showidcode|title}}

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

The showid field may be abbreviated as sid

{{YouTube|sid=showidcode|title}}

User channel links

{{YouTube|user=userchannelname|title}}

  • user 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)
Note

The user field may be specified using channel or simply u

{{YouTube|channel=userchannelname|title}}
{{YouTube|u=userchannelname|title}}


Usage

Video links

{{YouTube|id=id|title=title}}

  • id is the "YouTube id" which appears as http://www.youtube.com/watch?v=id
  • title gives an optional description that may replace the default title "Video"
  • Example: {{YouTube|id=9wuGq4haOs0|title="Nessun dorma"}} produces "Nessun dorma" on YouTube

Show links

{{YouTube|show=showname|title}}

  • 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)
Note

The show field may be abbreviated as s

{{YouTube|s=showname|title}}

Show id links

{{YouTube|showid=showidcode|title}}

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

The showid field may be abbreviated as sid

{{YouTube|sid=showidcode|title}}

User channel links

{{YouTube|user=userchannelname|title}}

  • user 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)
Note

The user field may be specified using channel or simply u

{{YouTube|channel=userchannelname|title}}
{{YouTube|u=userchannelname|title}}