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

提供: 聖城wiki2.0
ナビゲーションに移動 検索に移動
45行目: 45行目:
  
 
<includeonly>
 
<includeonly>
{{#widget:YouTube|{{#if:{{{playlist|}}}||id={{{id}}}}}{{#if:{{{id|}}}||playlist={{{playlist}}}}}|width={{{width|560}}}|height={{{height|315}}}}}
+
{{#widget:YouTube|id={{{id}}}}}
 
</includeonly>
 
</includeonly>

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


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
数値推奨