Template:YouTube: Difference between revisions
Created page with "<youtube>youtubeid</youtube>" |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<youtube> | <noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"id": { | |||
"label": "YouTube id", | |||
"description": "add the YouTube id here", | |||
"example": "DWef69ItVrU", | |||
"type": "unknown", | |||
"suggested": true | |||
}, | |||
"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. ", | |||
"paramOrder": [ | |||
"id", | |||
"playlist", | |||
"width", | |||
"height" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
<includeonly><youtube width={{{width|320}}} height={{{height|240}}}>{{{id}}}</youtube></includeonly> | |||