No edit summary
No edit summary
Line 1: Line 1:
{{ #for: {{{Videos}}} |
{{#explode:{{#var: Video_$n$}}|;|0}}
}}
{{#for: varname
| 4
| 4
| <nowiki />
* This is round {{#var: varname }} and we have {{#expr: 7 - {{#var: varname }} }} more to go
}}
{| class="wikitable" style="float:right; margin-left: 10px; font-size: 130%;"
{| class="wikitable" style="float:right; margin-left: 10px; font-size: 130%;"
|-
|-
! Select a Tutorial Video
! Select a Tutorial Video
{{#if:{{{Video_1|}}}|
{{ #for: {{{Videos}}} |  
{{!}}-
  {{!}}-
{{!}} {{#evl:{{#explode:{{{Video_1}}}|;|0}}|{{#explode:{{{Video_1}}}|;|1}}|1|player=example-player}}|
  {{!}} {{#evl: {{{Video$n$link}}}|{{{Video$n$name}}}|1|player=example-player}}|
}}
{{#if:{{{Video_2|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_2}}}|;|0}}|{{#explode:{{{Video_2}}}|;|1}}|2|player=example-player}}|
}}
{{#if:{{{Video_3|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_3}}}|;|0}}|{{#explode:{{{Video_3}}}|;|1}}|3|player=example-player}}|
}}
{{#if:{{{Video_4|}}}|
{{!}}-
  {{!}} {{#evl:{{#explode:{{{Video_4}}}|;|0}}|{{#explode:{{{Video_4}}}|;|1}}|4|player=example-player}}|
}}
{{#if:{{{Video_5|}}}|
{{!}}-  
  {{!}} {{#evl:{{#explode:{{{Video_5}}}|;|0}}|{{#explode:{{{Video_5}}}|;|1}}|5|player=example-player}}|
}}
{{#if:{{{Video_6|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_6}}}|;|0}}|{{#explode:{{{Video_6}}}|;|1}}|6|player=example-player}}|
}}
{{#if:{{{Video_7|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_7}}}|;|0}}|{{#explode:{{{Video_7}}}|;|1}}|7|player=example-player}}|
}}
{{#if:{{{Video_8|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_8}}}|;|0}}|{{#explode:{{{Video_8}}}|;|1}}|8|player=example-player}}|
}}
{{#if:{{{Video_9|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_9}}}|;|0}}|{{#explode:{{{Video_9}}}|;|1}}|9|player=example-player}}|
}}
{{#if:{{{Video_10|}}}|
{{!}}-
{{!}} {{#evl:{{#explode:{{{Video_10}}}|;|0}}|{{#explode:{{{Video_10}}}|;|1}}|10|player=example-player}}|  
}}
}}
|}
|}
Line 65: Line 14:
{
{
"params": {
"params": {
"Video1":{
"Videos":{
"type": "string",
"type": "number",
"default": "videolink-videoname",
"default": "1",
"required": true,
"required": true,
"suggested": true,
"suggested": true,
"description": "The name and link of the video."},
"description": "The amount of videos."},
"Video2":{
"Video1name":{
"type": "string",
"type": "string",
"default": "videolink-videoname",
"default": "videoname",
"required": false,
"required": true,
"suggested": true,
"suggested": true,
"description": "The name and link of the video."},
"description": "The name of the video."},
"Video3":{
"Video1link":{
"type": "string",
"type": "string",
"default": "videolink-videoname",
"default": "videolink",
"required": false,
"required": true,
"suggested": true,
"description": "The name and link of the video."},
"Video4":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"description": "The name and link of the video."},
"Video5":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"description": "The name and link of the video."},
"Video6":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"description": "The name and link of the video."},
"Video7":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"description": "The name and link of the video."},
"Video8":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"description": "The name and link of the video."},
"Video9":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"description": "The name and link of the video."},
"Video10":{
"type": "string",
"default": "videolink-videoname",
"required": false,
"suggested": true,
"suggested": true,
"description": "The name and link of the video."}
"description": "The link of the video."}
},
},
"paramOrder": [
"paramOrder": [
"Video1",
"Videos",
"Video2",
"Video1name",
"Video3",
"Video1link"
"Video4",
"Video5",
"Video6",
"Video7",
"Video8",
"Video9",
"Video10"
],
],
"description": "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",
"description": "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",

Revision as of 14:53, 17 March 2021

Select a Tutorial Video
EmbedVideo received the bad id "{{{Video_1}}}" 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

The amount of videos.

Default
1
Numberrequired
Video1nameVideo1name

The name of the video.

Default
videoname
Stringrequired
Video1linkVideo1link

The link of the video.

Default
videolink
Stringrequired
This page was last edited on 17 March 2021, at 14:53. Content is available under GPLv3 unless otherwise noted.