Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:EmbedVideo

From Wars Wiki
Jump to navigationJump to search

This page has been transcluded from Template:EmbedVideo/doc.


This template is wrapper for the EmbedVideo extension.

The source and usage text are copied from the Ace Combat Wiki.

Usage[edit source]

{{EmbedVideo|Video ID|Description}}

Parameters[edit source]

Parameter Description Type Status
ID 1 The raw ID of the video, or the video's URL from the player page. String required
Service service The video service to call; see the full list at https://www.mediawiki.org/wiki/Extension:EmbedVideo#Supported_services
Default
youtube
String optional
URL Arguments args Allows extra URL arguments to be appended to the generated embed URL. This is useful for obscure options only supported on one service.
Example
t=120&end=150
String optional
Dimensions dim Dimensions, in pixels, to size the embed container. Follows standard file dimension declaration (WIDTH, WIDTHxHEIGHT, or xHEIGHT)
Default
300
Example
480x360
String optional
Description 2 Display a wikitext description under the embed container. For line breaks use "
" without quotation marks. Content optional
Horiz. Alignment align Align the placement of the video either to the left, centered, or to the right. The default, inline, will allow multiple videos to display side-by-side without forced line breaks.
Default
inline
Unknown optional
Vert. Alignment vertical Align the vertical placement of the video either to the top, middle, bottom, or baseline of the parent element. Using this parameter forces Horiz. Alignment to be inline. String optional