Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

We now have a Discord server! Visit us here and chat about Neptunia and this wiki.


Documentation icon Template documentation[view] [edit] [history] [purge]

Description

This template helps embed a video from YouTube on a page.

Usage

{{YTembed|<id>|<dimensions>|<alignment>|<description>}}

Parameters

  • id= Required The video ID from the site to be embedded e.g. https://www.youtube.com/watch?v=2mtcL9RuY8g or 2mtcL9RuY8g.
  • dimensions= The width and height of the video e.g. 640 for 640px-wide, or 640x400 for 640px-wide, 400px-tall.
  • alignment= Aligns the embed video e.g. left, right or center.
  • description= Optional Provides a brief description of the video.

TemplateData

Embeds a YouTube video on a page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Video IDid 1

The video ID from the site.

Example
https://www.youtube.com/watch?v=Vois0RMtPHE or Vois0RMtPHE
Linerequired
Dimensionsdimensions 2

The dimensions of the embedded video, calculated by width and height.

Example
480 or 480x270
Stringsuggested
Alignmentalignment 3

Declares the alignment of the embedded video.

Example
left, right or center
Stringsuggested
Descriptiondescription 4

A brief description of the video.

Stringoptional

See also