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
 * should be the number of video entries. N also should be always equal to this parameter.
 * 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.
 * (optional) is the host site of the specified video, the default is YouTube. The supported services and the corresponding parameter that should be used in  are listed in the table below (services marked as "broken" produces non-working thumbnails):
 * {| class="wikitable"

! Service Name ! Parameter
 * Dailymotion
 * dailymotion
 * Div Share
 * divshare
 * FunnyOrDie (currently broken)
 * funnyordie
 * Google Video
 * googlevideo
 * Interia
 * interia
 * YouTube
 * youtube
 * Vimeo (currently broken)
 * vimeo
 * }
 * YouTube
 * youtube
 * Vimeo (currently broken)
 * vimeo</tt>
 * }
 * vimeo</tt>
 * }

Examples

 * We have 12 videos and their corresponding IDs and title. So,  should be 12. All videos are from YouTube, so, adding   parameter isn't necessary. Then, every video ID and the corresponding title goes in one line:


 * The above example produces this: