This template is protected from editing.
Difference between revisions of "Template:Youtube"
OluapPlayer (talk | contribs) m (Reverted edits by Fat Kids Derps Again (Talk) to last revision by WindPower) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div class="youtubebox ratio-{{{ratio|default}}}" style="margin:0.75em 0em;"> | <div class="youtubebox ratio-{{{ratio|default}}}" style="margin:0.75em 0em;"> | ||
{{#evp:youtube|{{{1|I3yKmjMmo6M}}}|no do|{{{align|left}}}|{{{width|500}}}}}{{#if:{{{2|<noinclude>yes</noinclude>}}} | {{#evp:youtube|{{{1|I3yKmjMmo6M}}}|no do|{{{align|left}}}|{{{width|500}}}}}{{#if:{{{2|<noinclude>yes</noinclude>}}} |
Revision as of 15:59, 8 December 2010
The #evp parser function was deprecated in EmbedVideo 2.0. Please convert your parser function tag to #ev.
Caption here.
Documentation for Youtube
This template will embed a video inside an article.
Syntax
Basic:
{{youtube|YouTube id}}
With a defined thumbnail width:
{{youtube|YouTube id|width=value|align=alignment}}
- YouTube Video Id
- The YouTube video id of the video to include.
- Width
- Width of the video, in pixels. Height is automatically calculated. Default is 500px.
- Align
- Horizontal alignment of video. Default is left.
- Ratio
- Ratio of embedded video (unimplemented).
See also
{{youtube tn}}