This template is protected from editing.

Difference between revisions of "Template:Youtube"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Syntax)
Line 19: Line 19:
 
;Width: Width of the video, in pixels. Height is automatically calculated. Default is 500px.
 
;Width: Width of the video, in pixels. Height is automatically calculated. Default is 500px.
 
;Align: Horizontal alignment of video. Default is left.
 
;Align: Horizontal alignment of video. Default is left.
 +
;Ratio: Ratio of embedded video (unimplemented).
  
 
=== See also ===
 
=== See also ===

Revision as of 19:11, 18 November 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