Template:YouTube/doc

Revision as of 02:25, 14 July 2020 by Epyon (talk | contribs) (Updated for second parameter default)

Using this template, you can create a link to a YouTube video formatted with the YouTube logo/icon and an external link to the video. If no display text is given, "Watch on YouTube" is displayed by default.

Usage

{{YouTube | Video URL}}
{{YouTube | Video URL | Display Text}}

Example Usage

{{YouTube|https://youtu.be/LafzNue-tFo}}
{{YouTube|https://youtu.be/SnYdXlvCmO0|I'm Mr. Meeseeks!  Look at me!}}

Watch on YouTube

I'm Mr. Meeseeks! Look at me!