Template:Youtube/doc

From Grand Theft Wiki
Jump to: navigation, search

This template embeds 1~5 YouTube videos into a page.

Note that you can also use {{YoutubeAudio}} to hide the video and use YouTube as an audio player.

Parameters
{{youtube
|video1 = First YouTube video ID
|title1 = Video title (optional)
|width1 = Width of video (optional, default 500 pixels)
|video2 = Second YouTube video ID
|title2 = Video title (optional)
|width2 = Width of video (optional, default 500 pixels)
|video3 = Third YouTube video ID
|title3 = Video title (optional)
|width3 = Width of video (optional, default 500 pixels)
|video4 = Fourth YouTube video ID
|title4 = Video title (optional)
|width4 = Width of video (optional, default 500 pixels)
|video5 = Fifth YouTube video ID
|title5 = Video title (optional)
|width5 = Width of video (optional, default 500 pixels)
}}
Example
{{youtube|video1=MpmDawqOfqs|title1=GTA Vice City trailer}}
GTA Vice City trailer