Template:Video: Difference between revisions
From Business Heroes Food Truck Simulation
			Wikiworks743 (talk | contribs) No edit summary  | 
				Wikiworks743 (talk | contribs)  No edit summary  | 
				||
| Line 22: | Line 22: | ||
			"suggested": true  | 			"suggested": true  | ||
		},  | 		},  | ||
		"  | 		"2": {  | ||
			"label": "Description",  | 			"label": "Description",  | ||
			"description": "The second unnamed parameter is video caption.",  | 			"description": "The second unnamed parameter is video caption.",  | ||
| Line 48: | Line 48: | ||
			"default": "center"  | 			"default": "center"  | ||
		}  | 		}  | ||
	}  | 	},  | ||
	"description": "To simplify video embedding.",  | |||
	"paramOrder": [  | |||
		"1",  | |||
		"2",  | |||
		"start",  | |||
		"end",  | |||
		"autoresize",  | |||
		"alignment"  | |||
	]  | |||
}  | }  | ||
</templatedata></noinclude>  | </templatedata></noinclude>  | ||
Revision as of 23:31, 19 December 2022
{{video
|https://www.youtube.com/watch?v=A5c5KzR4gwc
|Copyright of Stanford University
|start=5
|end=65
}}
To simplify video embedding.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Video URL | 1 | The first unnamed parameter is video URL.  | URL | suggested | 
| Description | 2 | The second unnamed parameter is video caption.  | Unbalanced wikitext | suggested | 
| Start from, sec | start | The timestamp to start at, seconds.  | Number | optional | 
| Play until, sec | end | The timestamp to stop at, seconds.  | Number | optional | 
| Autoresize | autoresize | no description 
  | Boolean | optional | 
| Alignment | alignment | no description 
  | String | optional |