模板:Youtube
跳至導覽
跳至搜尋
模板文檔
[刷新緩存]
Template for embedding Youtube videos
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
video ID | 1 videoid | the video ID of the youtube video to embed
| 字串 | 必填 |
width | 2 width | The width of the embedded video in the page in pixels
| 數值 | 選填 |
align | align | The alignment of the video (left/right/inline)
| 字串 | 選填 |
description | description | A short description to be rendered beneath the video embed.
| 字串 | 建議 |
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}}
分類:
- Formatting templates