(Created page with "{{#vardefine: i | 0 }}{{#while: | {{#ifexpr: {{#var: i }} < 5 | true }} | <nowiki /> * {{{Video{{#var: i }}}}}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }} {{#evl:{...")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: i | 0 }}{{#while:
{{#vardefine: i | 0 }}{{#while:
  | {{#ifexpr: {{#var: i }} < 5 | true }}
  | {{#ifexpr: {{#var: i }} < {{{Videos}}} | true }}
  | <nowiki />
  | <nowiki />
* {{{Video{{#var: i }}}}}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
* {{#evl:{{#explode:{{{Video{{#var: i }}}}}|-|0}}|{{#explode:{{{Video{{#var: i }}}}}|-|1}}|1|player=example-player}}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
}}
}}
 
{{#evl:{{#explode:{{{Video{{#var: i }}}}}|-|0}}|{{#explode:{{{Video{{#var: i }}}}}|-|1}}|1|player=example-player}}
 
<evlplayer w="640" h="360" id="example-player">{{#ev:youtube|{{#explode:{{{Video1}}}|;|0}}}}</evlplayer>
{{#evl:{{#explode:{{{Video1}}}|-|0}}|{{#explode:{{{Video1}}}|-|1}}|1|player=example-player}}
 
<evlplayer w="640" h="360" id="example-player">{{#ev:youtube|{{#explode:{{{Video_1}}}|;|0}}}}</evlplayer>


<noinclude>
<noinclude>
Line 14: Line 11:
{
{
"params": {
"params": {
"Videos":{
"type": "number",
"default": "1",
"required": true,
"suggested": true,
"description": "amount of videos."},
"Video1":{
"Video1":{
"type": "string",
"type": "string",
Line 22: Line 25:
},
},
"paramOrder": [
"paramOrder": [
"Videos",
"Video1"
"Video1"
],
],

Latest revision as of 14:12, 1 April 2021

Maximum number of loops have been performed

Play video

EmbedVideo received the bad id "{{{Video1}}}" for the service "youtube".


The videolink, and url for every video that should appear in the list. Currently supports up to 10 videos, only for youtube, requires at least one video

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
VideosVideos

amount of videos.

Default
1
Numberrequired
Video1Video1

The name and link of the video.

Default
videolink-videoname
Stringrequired
This page was last edited on 1 April 2021, at 14:12. Content is available under GPLv3 unless otherwise noted.