Template:Video: Difference between revisions

From Business Heroes Food Truck Simulation
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#evu: {{{1|}}}
<includeonly>{{#evu: {{{1|}}}
   |description={{{description|}}}
   |{{{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": "This will be used as video caption.",
"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.

Template parameters

ParameterDescriptionTypeStatus
Video URL1

The first unnamed parameter is video URL.

URLsuggested
Descriptiondescription

The second unnamed parameter is video caption.

Unbalanced wikitextsuggested
Start from, secstart

The timestamp to start at, seconds.

Numberoptional
Play until, secend

The timestamp to stop at, seconds.

Numberoptional
Autoresizeautoresize

no description

Default
true
Booleanoptional
Alignmentalignment

no description

Default
center
Stringoptional