Template:Youtube

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

A template used to create a window similar to an image thumb window but with a YouTube clip in place of the image. The syntax is as follows:

{{Youtube|1st|2nd|3rd|4th|5th}}

Where

1st = Clip ID (e.g., tM_7ZinEDKI)
2nd = caption
3rd = width (480 by default)
4th = height (320 by default)
5th = Alignment: left, center or right (default)



Example:

{{Youtube| tM_7ZinEDKI | [[YouTube|AAAAAAA]] AA A AAAAAAA AAAA AA [[AAAAAAAAA!|AAAAAAAAA]]... | 640 | 480 | center}} generates

YouTube Logo 2017.svg
AAAAAAA AA A AAAAAAA AAAA AA AAAAAAAAA...


and {{Youtube| tM_7ZinEDKI | [[YouTube|AAAAAAA]] AA A AAAAAAA AAAA AA [[AAAAAAAAA!|AAAAAAAAA]]... | 266 | 199 and 200 | right}} generates

 AAAAAAA AA A AAAAAAA AAAA AA AAAAAAAAA...
YouTube Logo 2017.svg
AAAAAAA AA A AAAAAAA AAAA AA AAAAAAAAA...


Note: a height less than 200 will result in omission of the YouTube icon.