Template:Video

From Electrical Installation Guide
Revision as of 00:17, 23 December 2019 by LMischler (talk | contribs) (add parameter to choose float position (default=right) + added clearfix on float right)


Used to embed a YouTube video inside a page (as a right floating element)

Template parameters

ParameterDescriptionTypeStatus
IDid 1

YouTube video ID

Default
W_AtINVj5x0
Example
W_AtINVj5x0
Stringrequired
Playlistplaylist 2

Optionally add this parameter (YouTube playlist ID) to view in "playlist" mode, eg next video starts automatically

Default
PLa7UGrWOTyjnuRAZcaIVEtgbmQ61qYzT_
Example
PLa7UGrWOTyjnuRAZcaIVEtgbmQ61qYzT_
Stringsuggested
Floatfloat 3

Optional parameter for video float position (left/right)

Default
right
Example
left
Stringsuggested