Template:InsertMedia: Difference between revisions

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

Revision as of 12:13, 17 October 2019