« Modèle:Video-list » : différence entre les versions
m (1 révision importée : importer pages, templates etc de PPR-FR (X1)) |
(modified for migration to MW1.35) |
||
Ligne 1 : | Ligne 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> |
Version du 30 juin 2022 à 15:47
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.
Paramètre | Description | Type | État | |||
---|---|---|---|---|---|---|
Aucun paramètre spécifié |