Template:YouTube/doc: Difference between revisions
Appearance
Lumosityfan (talk | contribs) Added category |
Lumosityfan (talk | contribs) Added noinclude |
||
| Line 44: | Line 44: | ||
|- | |- | ||
|} | |} | ||
[[Category:Templates]] | <noinclude>[[Category:Templates]]</noinclude> | ||
Revision as of 17:25, 16 May 2020
Template:YouTube/doc - Documentation
The YouTube template creates a link to a YouTube video, playlist, channel, or show.
Parameters
One of the following should be used:
c- the channel string to link to (ex:https://www.youtube.com/channel/UCg3fbV5gFNml-HZrBGPo9ow)p- the playlist to link to (ex:https://www.youtube.com/playlist?list=PLXrlspzNXNXstJSX_HwOExtaR5Z4wTbOt)s- the show to link to (ex:https://www.youtube.com/show/startrek)u- the user to link to (ex:https://www.youtube.com/user/ScienceOlympiadTV)v- the video to link to (ex:https://www.youtube.com/watch?v=SE8JIgwc0h0)
With an optional alias parameter:
1- the alias (the text that shows for the clickable link)
Examples
| Code | Result |
|---|---|
{{YouTube|u=ScienceOlympiadTV}}
|
ScienceOlympiadTV |
{{YouTube|c=UCg3fbV5gFNml-HZrBGPo9ow}}
|
Name |
{{YouTube|v=SE8JIgwc0h0}}
|
Name |
{{YouTube|p=PL1t-RzwecjdNpcfzbStAz2ocsuxrxsHZ0|SciOly Tourneys}}
|
SciOly Tourneys |
{{YouTube|c=UCg3fbV5gFNml-HZrBGPo9ow|Boca Raton SO}}
|
Boca Raton SO |