模板:Youtube

出自Noita Wiki
跳至導覽 跳至搜尋
Template-info.png 模板文檔

Template for embedding Youtube videos

模板參數

參數描述類型狀態
video ID1videoid

the video ID of the youtube video to embed

範例
UHFsZy5QIcw
字串必填
width2width

The width of the embedded video in the page in pixels

預設
425
自動值
數值選填
alignalign

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

範例
left
字串選填
descriptiondescription

A short description to be rendered beneath the video embed.

範例
This video shows something informative.
字串建議

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