Template:YouTube

From Gamemode 4
Revision as of 18:21, 14 July 2020 by Epyon (talk | contribs) (Added url fallback to YouTube Logo target)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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. The previous use of the template used the parameter url, which still applies.

Usage[edit source]

{{YouTube | Video URL}}
{{YouTube | Video URL | Display Text}}
{{YouTube | url = Video Url}}

Example Usage[edit source]

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

YouTube Logo.svg Watch on YouTube

YouTube Logo.svg I'm Mr. Meeseeks! Look at me!

YouTube Logo.svg Watch on YouTube