Template:Video
From EngageWiki
- Supported online services
- Syntax
{{video |url= # URL of the video |size= # dimensions in format [WIDTH|WIDTHxHEIGHT|xHEIGHT], eg. 480x320 (set explicitly) 300 (300px wide, auto height) x200 (200px high, auto width) |text= # arbitrary image caption |align= # video position keyword [left|right|center|inline] |clearfix= # stop content floating [yes] (usually when using "align=left") }}
- Example (float left with clearfix)
{{video |url=https://www.youtube.com/watch?v=nnWMrmTWonI |size=480x320 |text=Some text goes here |align=left |clearfix=yes }}
- Result
- Example (centered)
{{video |url=https://www.youtube.com/watch?v=nnWMrmTWonI |size=240x190 |text=Some text goes here |align=center }}
- Result
- Example (inline)
- Mind the absence of the new line between template instances.
{{video |url=https://www.youtube.com/watch?v=nnWMrmTWonI |size=240x190 |text=Some text goes here |align=inline }}<!-- -->{{video |url=https://www.youtube.com/watch?v=nnWMrmTWonI |size=240x190 |text=Some text goes here |align=inline }}<!-- -->{{video |url=https://www.youtube.com/watch?v=nnWMrmTWonI |size=240x190 |text=Some text goes here |align=inline }}