Template:Video

From Hollow Knight Wiki
Jump to navigation Jump to search
[view] [edit] [history] [refresh]Documentation

Embed an external video using specific parameters:

  • service - The hosting site of the video. defaults to youtube
  • id - required - url of the video, minus any parameters (anything after and including "&" or "?")
  • width - width of the video in pixels. Defaults to 300.
  • alignment - determines the horizontal alignment. Defaults to center
  • description - adds a text description underneath the video. Not required, but recommended.
  • container - adds a container to the video. Defaults to frame
  • urlargs - adds arguments to the end of the url (do not include &), for example, t=32
  • autoresize - determines whether the video will resize to fit the container. Defaults to false
  • valignment - determines the vertical alignment. Defaults to false

Example

Deep dive
[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Video/doc.