Difference between revisions of "Template:YouTube"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| [checked revision] | [checked revision] | 
| Line 1: | Line 1: | ||
<youtube {{#if {{{width|}}} | width="  | <youtube {{#if {{{width|}}} | width=" {{{width}}}"}} {{#if {{{height|}}} | height="{{{height}}}"}>{{{videocode}}}</youtube>  | ||
<noinclude>  | <noinclude>  | ||
<templatedata>  | <templatedata>  | ||
| Line 19: | Line 19: | ||
			"description": "Width of the video",  | 			"description": "Width of the video",  | ||
			"example": "200",  | 			"example": "200",  | ||
			"type": "number",  | 			"type": "number"  | ||
			"  | 		},  | ||
		"height": {  | |||
			"label": "Height of the video",  | |||
			"description": "Height of the video",  | |||
			"example": "200",  | |||
			"type": "number"  | |||
		}  | 		}  | ||
	},  | 	},  | ||
Revision as of 08:06, 9 June 2021
Embed a YouTube video
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Code of the video | videocode 1 | Code of the video 
  | String | required | 
| Width of the video | width | Width of the video 
  | Number | optional | 
| Height of the video | height | Height of the video 
  | Number | optional |