Template:Video: Difference between revisions
From Business Heroes Food Truck Simulation
			Wikiworks743 (talk | contribs) No edit summary  | 
				Wikiworks743 (talk | contribs)  No edit summary  | 
				||
| Line 5: | Line 5: | ||
   |alignment={{{alignment|center}}}  |    |alignment={{{alignment|center}}}  | ||
}}</includeonly><noinclude>  | }}</includeonly><noinclude>  | ||
;Code  | |||
<pre>  | <pre>  | ||
{{video  | {{video  | ||
| Line 13: | Line 14: | ||
}}  | }}  | ||
</pre>  | </pre>  | ||
;Result  | |||
{{video  | |||
|https://www.youtube.com/watch?v=A5c5KzR4gwc  | |||
|Copyright of Stanford University  | |||
|start=5  | |||
|end=65  | |||
}}  | |||
<templatedata>  | <templatedata>  | ||
{  | {  | ||
Revision as of 23:32, 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 |