Template:YouTube/doc: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
{{YouTube|video ID|Description of the video|float=left}} | {{YouTube|video ID|Description of the video|float=left}} | ||
{{clear}} | {{clear}} | ||
Some other text that should be shown below the video. | |||
</nowiki></pre> | </nowiki></pre> |
Latest revision as of 03:21, 9 August 2021
Use this template to embed YouTube videos.
Example usage
{{YouTube|Do3tSdZucyA}}
– whereDo3tSdZucyA
is the video ID. This by default displayed to the right.{{YouTube|Do3tSdZucyA|Description of the video}}
{{YouTube|Do3tSdZucyA|Description of the video|float=left}}
By default, videos are displayed floated to the right of the page. You can use the |float=
parameter, and with possible values left
, right
or none
. When floated to the left or right, sometimes text that follows can end up next to the video when you don't want it to. To get around this, add {{clear}}
after the template. For example:
{{YouTube|video ID|Description of the video|float=left}} {{clear}} Some other text that should be shown below the video.