Template:Video

From Step Mods | Change The Game

Forum Topic

Purpose & Usage[edit source]

This template provides a simple method to include links to video content. There are two methods Youtube videos can be displayed via this template: highslide link and embedded video.

  • parameter 1 is the Youtube id
  • parameter 2 (optional) is the title. "Video" if left blank.
  • parameter 3 (optional) is the caption
  • parameter embed (optional) if set to true will embed the video instead of link to it with highslide. Please note that embedded videos will not display your specified title currently.
  • parameter width (optional), by default is set to 360, is in pixels how wide it should display (embed video only).
  • parameter align (optional), by default left, allows you to set it to align to the right, left, or center of the page (embed video only).

Examples[edit source]

Highslide[edit source]

Code:

{{Video|j4ZQpzf_iAE}}

Result:

Video


Code:

{{Video|j4ZQpzf_iAE|This is the title|This is the caption}}

Result:

This is the title

This is the caption

Embedded[edit source]

Code:

{{Video|j4ZQpzf_iAE|embed=true}}

Result:


Code:

{{Video|j4ZQpzf_iAE|This is the caption|embed=true|width=480|align=center}}

Result:

This is the caption

See Also[edit source]

Template:RelatedVideos