Template:Video: Difference between revisions
From Business Heroes Food Truck Simulation
			Wikiworks743 (talk | contribs) No edit summary  | 
				Wikiworks743 (talk | contribs)  No edit summary  | 
				||
| Line 1: | Line 1: | ||
<includeonly>{{#evu: {{{1|}}}  | <includeonly>{{#evu: {{{1|}}}  | ||
   |  |    |{{{2|}}}  | ||
   |urlargs={{#if:{{{start|}}}{{{end|}}}|start={{{start|}}}&end={{{end|}}}}}  |    |urlargs={{#if:{{{start|}}}{{{end|}}}|start={{{start|}}}&end={{{end|}}}}}  | ||
   |autoresize={{{autoresize|true}}}  |    |autoresize={{{autoresize|true}}}  | ||
   |alignment={{{alignment|center}}}  |    |alignment={{{alignment|center}}}  | ||
}}</includeonly><noinclude>  | }}</includeonly><noinclude>  | ||
<pre>  | |||
{{video  | |||
|https://www.youtube.com/watch?v=A5c5KzR4gwc  | |||
|Copyright of Stanford University  | |||
|start=5  | |||
|end=65  | |||
}}  | |||
</pre>  | |||
<templatedata>  | <templatedata>  | ||
{  | {  | ||
| Line 11: | Line 18: | ||
		"1": {  | 		"1": {  | ||
			"label": "Video URL",  | 			"label": "Video URL",  | ||
			"description": "The first unnamed parameter is video URL",  | 			"description": "The first unnamed parameter is video URL.",  | ||
			"type": "url",  | 			"type": "url",  | ||
			"suggested": true  | 			"suggested": true  | ||
| Line 17: | Line 24: | ||
		"description": {  | 		"description": {  | ||
			"label": "Description",  | 			"label": "Description",  | ||
			"description": "  | 			"description": "The second unnamed parameter is video caption.",  | ||
			"type": "unbalanced-wikitext",  | 			"type": "unbalanced-wikitext",  | ||
			"suggested": true  | 			"suggested": true  | ||
| Line 23: | Line 30: | ||
		"start": {  | 		"start": {  | ||
			"label": "Start from, sec",  | 			"label": "Start from, sec",  | ||
			"description": "The timestamp to start at, seconds",  | 			"description": "The timestamp to start at, seconds.",  | ||
			"type": "number"  | 			"type": "number"  | ||
		},  | 		},  | ||
		"end": {  | 		"end": {  | ||
			"label": "Play until, sec",  | 			"label": "Play until, sec",  | ||
			"description": "The timestamp to stop at",  | 			"description": "The timestamp to stop at, seconds.",  | ||
			"type": "number"  | 			"type": "number"  | ||
		},  | 		},  | ||
Revision as of 23:30, 19 December 2022
{{video
|https://www.youtube.com/watch?v=A5c5KzR4gwc
|Copyright of Stanford University
|start=5
|end=65
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Video URL | 1 | The first unnamed parameter is video URL.  | URL | suggested | 
| Description | description | 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 |