Progress Continues
We've already had 21453 updates since Dolphin 5.0. Keep up with Dolphin's continuing progress through the Dolphin Blog: August, September, and October 2023 Progress Report. |
The Dolphin Emulator Wiki needs your help! Dolphin can play thousands of games, and changes are happening all the time. Help us keep up! Join in and help us make this the best resource for Dolphin. |
Template:YouTube/doc: Difference between revisions
Jump to navigation
Jump to search
(create /doc) |
(Updated documentation) |
||
Line 1: | Line 1: | ||
Template | This template provides a simplified way to use the [[Template:EmbedVideo|EmbedVideo]] plugin. It automatically uses the standard thumbnail size and position used on this wiki | ||
* {{{ | |||
* {{{ | ==Usage== | ||
To call the plugin, use | |||
<pre><nowiki>{{YouTube|<video ID>|<title>}}</nowiki></pre> | |||
*<code>Video ID</code> parameter is mandatory. The ID is the bold part of the URL (<nowiki>http://www.youtube.com/watch?v=</nowiki>'''VqNcksMfAjM''') | |||
*<code>Title</code> parameter is optional | |||
===Examples=== | |||
* Specifying video ID and title, <code><nowiki>{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}</nowiki></code> produces this: | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}<div style="clear:left"></div> | |||
* Specifying only video ID, <code><nowiki>{{YouTube|VqNcksMfAjM}}</nowiki></code> make the template use URL as title: | |||
{{YouTube|VqNcksMfAjM}}<div style="clear:left"></div> | |||
==Notes== | |||
* Using multiple calls will make the videos be side-by-side: | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}} | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}} | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}} | |||
<div style="clear:left"></div> | |||
* ALWAYs add this after calling the template to properly show other elements from the page or when you need one video in each "line": | |||
<pre><div style="clear:left"></div></pre> | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}<div style="clear:left"></div> | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}<div style="clear:left"></div> | |||
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}} | |||
* If you call this template and forget to use a <code><div style="clear:left"></div></code> after, you'll get something weird, like this entry! |
Revision as of 00:47, 5 November 2012
This template provides a simplified way to use the EmbedVideo plugin. It automatically uses the standard thumbnail size and position used on this wiki
Usage
To call the plugin, use
{{YouTube|<video ID>|<title>}}
Video ID
parameter is mandatory. The ID is the bold part of the URL (http://www.youtube.com/watch?v=VqNcksMfAjM)Title
parameter is optional
Examples
- Specifying video ID and title,
{{YouTube|VqNcksMfAjM|The Legend of Zelda: The Wind Waker Intro}}
produces this:
- Specifying only video ID,
{{YouTube|VqNcksMfAjM}}
make the template use URL as title:
Notes
- Using multiple calls will make the videos be side-by-side:
- ALWAYs add this after calling the template to properly show other elements from the page or when you need one video in each "line":
<div style="clear:left"></div>
- If you call this template and forget to use a
<div style="clear:left"></div>
after, you'll get something weird, like this entry!