Template:YouTube/doc

From Dolphin Emulator Wiki
< Template:YouTube
Revision as of 00:47, 5 November 2012 by Mbc07 (talk | contribs) (Updated documentation)
Jump to navigation Jump to search

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!