Difference between revisions of "Template:Youtube"
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>{{#evp:youtube|{{{1}}}|{{{width|500}}}}}</includeonly><noinclude>Template to add a YouTube video. |
== Syntax == | == Syntax == | ||
Basic: | Basic: |
Revision as of 14:50, 14 September 2010
Template to add a YouTube video.
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.