Template:Youtube/doc: Difference between revisions

no edit summary
(New Page: "This template embeds 1 or 2 YouTube videos into a page. Note that you can also use {{template|YoutubeAudio}} to hide the video and use YouTube as an audio player. ;Parameters <pre> ...")
 
No edit summary
Line 1: Line 1:
This template embeds 1 or 2 YouTube videos into a page.
This template embeds 1~5 YouTube videos into a page.


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


;Parameters
; Parameters
<pre>
<pre>
{{youtube
{{youtube
Line 12: Line 12:
|title2 = Video title (optional)
|title2 = Video title (optional)
|width2 = Width of video (optional, default 500 pixels)
|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)
}}
}}
</pre>
</pre>


;Example
; Example


<pre>
<pre>
1,184

edits