Template:YouTube: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#widget:YouTubeEmbed | <includeonly>{{#widget:YouTubeEmbed | ||
|id={{#if: {{{ id | }}} | {{{ id | }}} | {{{ 1 | }}} }} | |id={{#if: {{{ id | }}} | {{{ id | }}} | {{{ 1 | }}} }} | ||
|thumb={{#if:{{{ thumb | }}} | |||
|{{filepath:{{PAGENAME:{{{ thumb | }}} }}|600}} | |||
|https://img.youtube.com/vi/{{{ id | }}}/hqdefault.jpg | |||
}} | |||
|containerClasses={{{ containerClasses | }}} | |containerClasses={{{ containerClasses | }}} | ||
|caption={{#if:{{{ caption | }}} | |caption={{#if:{{{ caption | }}} | ||
| Line 22: | Line 26: | ||
|iconoverlay={{#if:{{{ iconoverlayCentered | }}} | |iconoverlay={{#if:{{{ iconoverlayCentered | }}} | ||
|<img src="<!--{$iconoverlayCentered|default:''}-->" width="200px" height="auto" class="opac-50"> | |<img src="<!--{$iconoverlayCentered|default:''}-->" width="200px" height="auto" class="opac-50"> | ||
|<i class="fa-brands fa-youtube fa-xl my-3 opac- | |<i class="fa-brands fa-youtube fa-xl my-3 mx-2 opac-70" style="color: red;"></i> | ||
}} | }} | ||
}}{{#subobject: | }}{{#subobject: | ||