Vorlage:Video-list: Unterschied zwischen den Versionen

Aus Planungskompendium Energieverteilung
Wechseln zu:Navigation, Suche
K (1 Version importiert: X1 import - exported page from PPR-EN)
(modified for migration to MW1.35)
Zeile 1: Zeile 1:
<includeonly><div class="row">
<includeonly><div class="row">
{{#tag:evlplayer||class=col-xs-12 col-lg-5 pull-right|w=450|id=example-player|service=youtube|defaultid={{#if: {{{default|}}} | {{{default|}}} | {{{1|}}} }} }}
{{#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-xs-12 col-lg-7" id="playlist"><!--
<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>

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.

Vorlagenparameter

ParameterBeschreibungTypStatus
Keine Parameter angegeben