Template:Video/doc

From [N8]
Revision as of 18:55, 9 October 2020 by Banri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Allows for a much more simpler way to embed a video onto a wiki page without having to understand the raw parameters from Extension:EmbedVideo.

Usage

For usage info, see Template Data.

Data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Allows ease of use when using tags from Extension:EmbedVideo

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Serviceload

The video service to call.

Example
load=youtube
Stringrequired
IDid

The raw ID of the video or URL from the player page.

Example
id=RmQVm0Rb2b4
Stringrequired
Alignment align

Align the placement of the video either to the left, centered, or to the right. Inline will allow multiple videos to display side by side without forced line breaks.

Example
align=left|center|right|inline
Stringoptional
Descriptiondesc

Display a description under the embed container. For line breaks use: 


Example
desc=Example Description
Stringoptional
Containerbox

Wrap the video player in a Mediawiki thumbnail box.

Example
box=frame
Stringoptional
Dimensions size

Dimensions in pixels to size the embed container. The standard format is width x height where either can be omitted, but the x must proceed height to indicate it as the height. Examples: 480, 480x320, x320. If the height is not provided it will be calculated automatically from the width and service default ratio.

Default
640
Example
size=480x320
Stringoptional