Template:Youtube

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Revision as of 23:08, October 11, 2023 by Lost Student (talk | contribs) (Created page with "<includeonly>{{#ev:youtube|{{{id|}}}|{{{dimensions|}}}|{{{alignment|}}}|{{{description|}}}|{{{container|}}}|urlargs=start={{{start|}}}&end={{{end|}}}}}</includeonly><noinclude><templatedata> { "params": { "id": { "label": "Video ID", "description": "The video ID. Can be found in the video url. For example, the id of the video at https://www.youtube.com/watch?v=34976SngvrY is \"34976SngvrY\"", "example": "34976SngvrY", "type": "string", "required": true...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is for inserting an embedded Youtube video.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Video IDid

The video ID. Can be found in the video url. For example, the id of the video at https://www.youtube.com/watch?v=34976SngvrY is "34976SngvrY"

Example
34976SngvrY
Stringrequired
Video Dimensionsdimensions

Size of the video frame

Example
320x320
Stringoptional
Horizontal Alignmentalignment

Determine placement of the video frame on the page

Suggested values
left center right
Example
center
Stringoptional
Video Descriptiondescription

Description of the video

Stringoptional
Start Time (seconds)start

Time to start playing the video

Numberoptional
End Time (seconds)end

Time to end playing the video

Numberoptional