Vorlage:Video-list: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
K (1 Version importiert: MW1.35 - common pages all wikis) |
||
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<includeonly><div class="row"> | <includeonly><div class="row"> | ||
{{#tag:evlplayer||class=col | {{#tag:evlplayer||class=col-12 col-lg-5 pull-right|w=450|id=example-player|service=youtube|defaultid={{#if: {{{default|}}} | {{{default|}}} | {{{1|}}} }} }} | ||
<div class="col | <div class="col-12 col-lg-7" id="playlist"><!-- | ||
-->{{#fornumargs: number | value | {{#ifexpr:{{#var: number}} mod 2 |{{#evl: {{#var: value}} | {{{ {{#expr:{{#var: number}}+1}} |}}} | service=youtube | player=example-player }}<br> |}}}}<!-- | -->{{#fornumargs: number | value | {{#ifexpr:{{#var: number}} mod 2 |{{#evl: {{#var: value}} | {{{ {{#expr:{{#var: number}}+1}} |}}} | service=youtube | player=example-player }}<br> |}}}}<!-- | ||
--></div> | --></div> |
Aktuelle Version vom 17. Mai 2022, 07:53 Uhr
This template is used to add a video list (one player for all the videos) Syntaxe: {{video-list |<youtube-id-video-1>|<link-text-video-1> ... |<youtube-id-video-X>|<link-text-video-X>}} optionally, you can also define which video will be shown by default, by adding a parameter with the syntax "default=<youtube-id-video>". If not provided, the first video in the list will be shown by default.
Parameter | Beschreibung | Typ | Status | |||
---|---|---|---|---|---|---|
Keine Parameter angegeben |