Template:YouTube: Difference between revisions

From Bodhicitta
((by SublimeText.Mediawiker))
Tag: Reverted
(VSCode edit)
 
(10 intermediate revisions by 2 users 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:{{{ captionLink | }}}
     |caption={{#if:{{{ caption | }}}
        |<span class="underlined">{{{ caption | }}}</span><a href="/index.php/{{{ captionLink | }}}" class="overlay-link"></a>
|{{#if:{{{ captionLink | }}}
        |{{#ask:[[Category:Multimedia]][[StreamingService::YouTube]][[VideoStreamID::{{{ id | }}}]]
|<span class="blue-text underlined">{{{ caption | }}}</span><a href="/index.php/{{{ captionLink | }}}" class="overlay-link"></a>
            |limit=1
|{{#ask:[[Category:Multimedia]][[StreamingService::YouTube]][[VideoStreamID::{{{ id | }}}]]
            |link=none
|limit=1
            |searchlabel=
|link=none
            |format=template
|searchlabel=
            |template=MediaLinkToSubpage
|format=template
            |import-annotation=true
|template=MediaLinkToSubpage
            |intro=<span class="underlined">{{{ caption | }}}</span>
|import-annotation=true
            |default={{{ caption | }}}
|intro=<span class="blue-text underlined">{{{ caption | }}}</span>
        }}
|default={{{ caption | }}}
    }}
}}
}}
|
}}
     |delay={{{ delay | }}}
     |delay={{{ delay | }}}
     |iconoverlayCentered={{#if:{{{ iconoverlayCentered | }}}|{{{ iconoverlayCentered | }}}|}}
     |end={{{ end | }}}
     |iconoverlay={{#if:{{{ iconoverlayCentered | }}}||{{filepath:YouTube Logo 2017.png}}}}
     |iconoverlay={{#if:{{{ iconoverlayCentered | }}}
|<img src="<!--{$iconoverlayCentered|default:''}-->" width="200px" height="auto" class="opac-50">
|<i class="fa-brands fa-youtube fa-xl my-3 mx-2 opac-70" style="color: red;"></i>
}}
}}{{#subobject:
}}{{#subobject:
     |classification=YouTubeObject
     |classification=YouTubeObject
     |id={{#if: {{{ id | }}} | {{{ id | }}} | {{{ 1 | }}} }}
     |id={{#if: {{{ id | }}} | {{{ id | }}} | {{{ 1 | }}} }}
}}</includeonly>
}}</includeonly>

Latest revision as of 16:23, 20 May 2026