Template:InsertMedia: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noglossary><div class="{{#switch:{{{ float | }}} | <noglossary>{{#ifeq:{{{ float | }}} | ||
|center | |||
|<div class="border-tb-redfade my-4 py-3 d-flex justify-content-center flex-wrap no-drop-cap"> | |||
| | |||
}} | |||
<div class="{{#switch:{{{ float | }}} | |||
|right={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-right pl-4 | |||
|center={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-8 }} d-flex justify-content-around | |||
|#default={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-left pr-4 | |||
}} mt-3 mb-2 text-center"> | |||
<div class="mb-2 d-flex justify-content-center">{{#if: {{#show:{{{ page | }}}|?pdflink}} | |||
| [[{{{ page | }}}|class=p-3]] | |||
| {{#ask: [[{{{ page | }}}]] | |||
|?StreamingService | |||
|?VideoStreamID | |||
|link=none | |||
|format=template | |||
|template=ShowVideo | |||
|userparam={{{ width | 375 }}} | |||
}} | |||
}} | }} | ||
</div>{{#if: {{{ speaker | }}} | | |||
<div class="d-inline-block position-relative link-no-border grey-hoverlay px-2 pt-1 rounded" style="font-size: .9em;"><center>{{#widget:PersonPageRoundImage | |||
|filepath={{#show: {{{ speaker | }}} |?FirstImageURL }} | |||
|size=45px | |||
|depth=1 | |||
|link={{{ speaker | }}} | |||
|classes=none | |||
|linkclasses=none | |||
}}</center> [[{{{ speaker | }}}]]</div> | }}{{#ifeq: {{{ showtitle | }}} | yes | | |||
<div class="font-italic" style="font-size: .8em; font-weight: 600;">[[{{{ page | }}}|{{#if: {{{ title | }}} | |||
| {{{ title }}} | |||
| {{#show: {{{ page | }}} |?BuNayTitle }} | |||
</div> }} | }}]] | ||
</div></noglossary> | </div> | }} | ||
</div>{{#ifeq:{{{ float | }}} | |||
|center | |||
|</div> | |||
| | |||
}} | |||
</noglossary> |