Vorlage:Video: Unterschied zwischen den Versionen
Aus Planungskompendium Energieverteilung
K (1 Version importiert: MW1.35 - common pages all wikis) |
(move to MW1.39) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div class="col-12 col-sm-5 {{#ifeq: {{{float|{{{3|}}}}}}|left|video-float-left|video-float-right clearfix}}">{{# | <includeonly><div class="col-12 col-sm-5 {{#ifeq: {{{float|{{{3|}}}}}}|left|video-float-left|video-float-right clearfix}}">{{#ev:youtube|id={{{id|{{{1|}}}}}}|alignment=center|urlArgs=cc_load_policy=1&rel=0&modestbranding=1&controls=1{{#if: {{{playlist|{{{2|}}}}}} | &listType=playlist&list={{{playlist|{{{2|}}}}}} |}} }}</div>[[Category:Eig-pages-with-video|{{PAGENAME}}]]<div>{{#addbodyclass:vd0}}</div></includeonly><noinclude> | ||
[[Category:Eig-other-templates|{{PAGENAME}}]] | [[Category:Eig-other-templates|{{PAGENAME}}]] |
Aktuelle Version vom 26. Januar 2024, 13:21 Uhr
Used to embed a YouTube video inside a page (as a right floating element)
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
ID | id 1 | YouTube video ID
| Mehrzeiliger Text | erforderlich |
Playlist | playlist 2 | Optionally add this parameter (YouTube playlist ID) to view in "playlist" mode, eg next video starts automatically
| Mehrzeiliger Text | vorgeschlagen |
Float | float 3 | Optional parameter for video float position (left/right)
| Mehrzeiliger Text | vorgeschlagen |