「テンプレート:YouTube」の版間の差分
ナビゲーションに移動
検索に移動
42行目: | 42行目: | ||
} | } | ||
</templatedata> | </templatedata> | ||
− | </noinclude><includeonly> | + | </noinclude> |
− | {{#widget:YouTube|id={{{id}}}}}}</includeonly> | + | |
+ | <includeonly> | ||
+ | {{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}} | ||
+ | </includeonly> |
2021年1月25日 (月) 01:10時点における版
Fill in the info below to add a YouTube video to the Wiki.
引数 | 説明 | 型 | 状態 | |
---|---|---|---|---|
YouTube id | id | add the YouTube id here
| 不明 | 推奨 |
Playlist id | playlist | If you are embedding YouTube playlist instead of a video, add the id here. | 文字列 | 省略可能 |
Width | width | add the width of the YouTube video here | 数値 | 推奨 |
Height | height | add the height of the YouTube video here
| 数値 | 推奨 |