Template:VideoGallery/doc

This template uses the embed video plugin to create a video gallery. If the page have more than 3 videos, this template will automatically randomly select 3 videos to show as thumbnails and the rest of the videos will be returned as plain text links.

Usage
The video gallery template should be called in the following way: where
 * is the ID of the video that you are embedding (like the bold part in this URL: http://www.youtube.com/watch?v= VqNcksMfAjM).
 * (optional) is the caption for the video. If no caption is entered or if the parameter is omitted, the template will return the video URL as title.

Basic usage

 * We have 2 videos and their corresponding IDs and title. So, every video ID and their corresponding title goes in one line:


 * The above example produces this:

Behavior with multiple videos

 * This time, we have 12 videos, so, the template will show only 3 random thumbnails and the other videos will be displayed as plain text links. Just add every video ID and their corresponding title in a separate line, like before:


 * The above example produces this:

Videos from different services

 * This time, we have 2 videos from different services. The default is YouTube, for other services we need to add an additional  parameter (see notes for more details). Then, add every video ID, their corresponding title (and server) in a separate line, like before:


 * The above example produces this:

Used By
uses=Template:VideoGallery ordermethod=titlewithoutnamespace notuses=Template:Disambig notnamespace=Template

mode=category columns=3 rowcolformat=width=100% titlelt=MC Groovz Dance Craze uses=Template:VideoGallery ordermethod=titlewithoutnamespace notuses=Template:Disambig notnamespace=Template

mode=category columns=3 rowcolformat=width=100% titlegt=Luigi's Mansion titlelt=TMNT uses=Template:VideoGallery ordermethod=titlewithoutnamespace notuses=Template:Disambig notnamespace=Template

mode=category columns=3 rowcolformat=width=100% titlegt=Swords & Soldiers