Template:Video

From EngageWiki
Revision as of 15:12, 20 July 2022 by WikiVisor (talk | contribs) (Created page with "<includeonly> {{#evu:{{{url|}}} |dimensions={{{size|}}} |alignment={{{align|right}}} |description={{{text|}}} |container= |urlargs=modestbranding=1&version=3 |autoresize=true...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
Some text goes here
Example (centered)
{{video
|url=https://www.youtube.com/watch?v=nnWMrmTWonI
|size=240x190
|text=Some text goes here
|align=center
}}
Result
Some text goes here
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
}}
Some text goes here
Some text goes here
Some text goes here

This project has received funding from the SESAR Joint Undertaking under the European Union’s Horizon 2020 research and innovation programme under grant agreement No 783287.