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

提供: 聖城wiki2.0
ナビゲーションに移動 検索に移動
5行目: 5行目:
 
"id": {
 
"id": {
 
"label": "YouTube id",
 
"label": "YouTube id",
"description": "add the YouTube id here",
+
"description": "動画のidをコピペしてください。共有URLの中の / より後ろの部分です。",
 
                         "default": "",
 
                         "default": "",
  
 
"example": "DWef69ItVrU",
 
"example": "DWef69ItVrU",
 
"type": "unknown",
 
"type": "unknown",
"suggested": true,
+
"suggested": true
  "aliases": []
 
},
 
"playlist": {
 
"label": "Playlist id ",
 
"description": "If you are embedding YouTube playlist instead of a video, add the id here. ",
 
"type": "string"
 
},
 
"width": {
 
"label": "Width",
 
"description": "add the width of the YouTube video here",
 
"type": "number",
 
"suggested":true
 
},
 
"height": {
 
"label": "Height",
 
"description": "add the height of the YouTube video here",
 
"example": "400",
 
"type": "number",
 
"suggested":true
 
 
}
 
}
 
},
 
},
"description": "Fill in the info below to add a YouTube video to the Wiki. ",
+
"description": "YouTubeの動画をサイトに追加します。",
 
"paramOrder": [
 
"paramOrder": [
"id",
+
"id"
"playlist",
 
"width",
 
"height"
 
 
]
 
]
 
}
 
}

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

YouTubeの動画をサイトに追加します。

テンプレート引数

引数説明状態
YouTube idid

動画のidをコピペしてください。共有URLの中の / より後ろの部分です。

既定
DWef69ItVrU
不明推奨