790 bytes added
, 19:34, 6 January 2017
{{#evt:
service=youtube
|id={{{1}}}
|alignment=right
}}
<noinclude>
The Video template makes it easy to copy a YouTube video URL and embed it in your wiki page.
== Usage ==
Just call the template with the full YouTube (or other service) address of the video to embed.
Like this:
<nowiki>{{Video|https://www.youtube.com/watch?v=pSsYTj9kCHE}}</nowiki>
That will expand to
<pre>{{#evt:
service=youtube
|id=https://www.youtube.com/watch?v=pSsYTj9kCHE
|alignment=right
}}
</pre>
which uses the Embed Video parser tag for templates to produce
{{#evt:
service=youtube
|id=https://www.youtube.com/watch?v=pSsYTj9kCHE
|alignment=right
}}
== Embed Video Documentation ==
https://www.mediawiki.org/wiki/Extension:EmbedVideo#.23evt_-_Parser_Tag_for_Templates
</noinclude>
[[Category:Video]]