Template:YT
From Sl1pg8r Wiki
Jump to navigationJump to searchThis template creates a plain link to a YouTube video with the provided view id.
It can have up to three parameters.
- The first is required, and is the view id (the "whatever" of "?v=whatever") from the video URL.
- The second is semi-optional, and sets the text of the link. Defaults to "Link" if unspecified.
- The third is optional, and specifies a video timestamp, in YouTube's "_m_s" format.
i.e. {{YT|id|text|time}}
If the second parameter is not specified, but you still want to use a timestamp, you must precede the timestamp with "3=", like this: {{YT|id|3=time}}. However, if this is the case, you should consider making the link text into a normal time format statement of the timestamp, e.g. {{YT|dQw4w9WgXcQ|3:14|3m14s}} would result in 3:14.