「テンプレート:YouTube」の版間の差分

提供: 聖城wiki2.0
ナビゲーションに移動 検索に移動
(ページの作成:「 <noinclude> <templatedata> { "params": { "id": { "label": "YouTube id", "description": "add the YouTube id here", "default": "", "ex…」)
 
43行目: 43行目:
 
</templatedata>
 
</templatedata>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}}</includeonly>
+
{{#widget:YouTube|id={{{id}}}}}}</includeonly>

2021年1月25日 (月) 01:07時点における版


Fill in the info below to add a YouTube video to the Wiki.

テンプレート引数

引数説明状態
YouTube idid

add the YouTube id here

既定
DWef69ItVrU
不明推奨
Playlist id playlist

If you are embedding YouTube playlist instead of a video, add the id here.

文字列省略可能
Widthwidth

add the width of the YouTube video here

数値推奨
Heightheight

add the height of the YouTube video here

400
数値推奨