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|}}}|description={{{2|}}}|urlargs={{#if:{{{start|}}}{{{end|}}}|start={{{start|}}}&end={{{end|}}}}}|autoresize={{{autoresize|true}}}|alignment={{{alignment|center}}}}}</includeonly><noinclude>  | ||
}}</includeonly><noinclude>  | |||
;Code  | ;Code  | ||
<pre>  | <pre>  | ||
Revision as of 23:33, 19 December 2022
- Code
 
{{video
|https://www.youtube.com/watch?v=A5c5KzR4gwc
|Copyright of Stanford University
|start=5
|end=65
}}
- Result
 
Couldn't parse video from Copyright of Stanford University
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 |