Template:Video Embed/doc

From MKWii TAS Wiki
Revision as of 19:55, 31 January 2024 by Boumi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Video_Embed}} should be used to add a video that comes from Youtube or similar video hosting website.

Usage

The video payer may be added by pasting the template as shown below in a page and then filling in the desired fields.


VideoService "''video host''" not recognized.



{{Video Embed
|service=
|url=
|dimensions=
|alignment=
|description=}}

Template Data

Add an embed video

Template parameters

ParameterDescriptionTypeStatus
Streaming serviceservice

Video service of the video you want to embed

Suggested values
youtube archiveorg dailymotion nico rutube twitch vimeo
Example
youtube
Stringrequired
URLurl

URL of the embed video

Example
https://www.youtube.com/watch?v=dQw4w9WgXcQ
URLrequired
Dimensionsdimensions

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.

Example
480, 480x320, x320. If the height is not provided it will be calculated automatically from the width and service default ratio
Stringoptional
Alignmentalignment

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

Suggested values
left center right
Example
left, center
Stringoptional
Descriptiondescription

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


Example
some wikitext
Contentoptional