Template:Youtube

From Noita Wiki
Jump to navigation Jump to search

Usage

{{youtube|videoid|width|align=}}

Using this template on a page categorizes the page into Category:Pages with videos.

Examples

Default width (425px): {{youtube|UHFsZy5QIcw}}

Custom width: {{youtube|UHFsZy5QIcw|720}}

Inline alignment: {{youtube|UHFsZy5QIcw|align=inline}}

Description: {{youtube|UHFsZy5QIcw|description = Video description goes here}}

Video description goes here

Templatedata

Template for embedding Youtube videos

Template parameters

ParameterDescriptionTypeStatus
video ID1 videoid

the video ID of the youtube video to embed

Example
UHFsZy5QIcw
Stringrequired
width2 width

The width of the embedded video in the page in pixels

Default
425
Auto value
Numberoptional
alignalign

The alignment of the video (left/right/inline)

Example
left
Stringoptional
descriptiondescription

A short description to be rendered beneath the video embed.

Example
This video shows something informative.
Stringsuggested