Template:Video Embed: Difference between revisions
No edit summary |
m Add transclusion to doc page |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ev: | {{#ev: | ||
{{{service}}} | {{{service}}}| | ||
|{{{ | {{{url}}}| | ||
{{#if:{{{dimensions|}}}|{{{dimensions}}}|}}| | |||
{{#if:{{{alignment|}}}|{{{alignment}}}|}}| | |||
{{#if:{{{description|}}}|{{{description}}}|}} | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | |||
{ | [[Category:Mario Kart Wii Templates]] | ||
</noinclude> | </noinclude> |
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 |