Template:InsertMedia: Difference between revisions

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

Latest revision as of 16:46, 16 July 2020