Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua

This template should be used to embed Vimeo videos.

Usage

{{Vimeo
| 1 = Video ID
| 2 = Width (defaults to 425)
| 3 = Height (defaults to width ÷ (16÷9) rounded to the nearest integer)
| align = Alignment
| caption = Caption
| nocat = Prevents category to be added
}}

Parameters

<templatedata> { "params": { "1": { "label": "Video ID", "description": "The video ID that must be added.", "type": "string",

           "suggested": true

}, "2": { "label": "Video width", "description": "Changes the width of the video. Defaults to 425", "type": "string" }, "3": { "label": "Video height", "description": "Changes the height of the video. Defaults to width ÷ (16÷9) rounded to the nearest integer", "type": "string" }, "align": { "label": "Video alignment", "description": "Changes the alignment of the video.", "type": "string" }, "caption": { "label": "Video caption", "description": "Adds an optional caption for the video.", "type": "string" }, "nocat": { "label": "Category supressor", "description": "Prevents Category:Pages with Vimeo videos to be added to a page using this template.", "type": "string" } }, "description": "This template adds a video that can be embedded on a page directly instead on needing to upload it directly to the wiki.", "format": "inline" } </templatedata>

Examples

Default usage
{{vimeo|398709015}}

Template:Vimeo

Custom width
{{vimeo|398709015|400}}

Template:Vimeo

Custom width and height
{{vimeo|398709015|512|512}}

Template:Vimeo

Inline alignment
{{vimeo|398709015|align=inline}}
{{vimeo|398709015|align=inline}}

Template:Vimeo Template:Vimeo

Custom caption
{{vimeo|398709015|caption=The walk of the muddy pig.}}

Template:Vimeo

With an image frame

Sometimes it makes sense to put the video in an image frame so that it formats like an image:

{{FakeImage|{{vimeo|398709015}}|The walk of the muddy pig.|align=right}}

This can unclutter the pages a lot. You also get to add a caption. Template:FakeImage

See also

  • {{YouTube}} – to post a video from YouTube

pt:Predefinição:Vimeo uk:Шаблон:Vimeo

zh:Template:Vimeo
The above text is transcluded from Template:MC/Vimeo/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Vimeo/doc. (View all subpages of this page.)