テンプレート:Youtube/doc
ナビゲーションに移動
検索に移動
Documentation
[purge]
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}}
Templatedata
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.
| 文字列 | 推奨 |