Template:Video Embed/doc: Difference between revisions
Create doc for Embed Video Template |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{tl|Video_Embed}} should be used to add a video that comes from Youtube or similar video hosting website. | {{tl|Video_Embed}} should be used to add a video that comes from Youtube or similar video hosting website. | ||
* ''See [[mw:Extension:EmbedVideo_(fork)]] for more information.'' | |||
== Usage == | == Usage == |
Latest revision as of 19:55, 31 January 2024
{{Video_Embed}} should be used to add a video that comes from Youtube or similar video hosting website.
- See mw:Extension:EmbedVideo_(fork) for more information.
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Streaming service | service | Video service of the video you want to embed
| String | required |
URL | url | URL of the embed video
| URL | required |
Dimensions | dimensions | 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.
| String | optional |
Alignment | alignment | 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
| String | optional |
Description | description | Display a description under the embed container. For line breaks use
| Content | optional |