Template:InsertMedia: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noglossary>{{#switch:{{{ float | }}}
<noglossary>{{#ifeq:{{{ float | }}}
|right=
|center  
|center=
|<div class="border-tb-redfade my-4 py-3 d-flex justify-content-center flex-wrap no-drop-cap">
|#default=<div class="border-tb-redfade my-4 py-3 d-flex justify-content-center flex-wrap no-drop-cap">
|
}}
}}
<div class="{{#switch:{{{ float | }}}
<div class="{{#switch:{{{ float | }}}
|right={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-right ml-3
|right={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-right pl-4
|center={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} d-flex flex-row justify-content-around
|center={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-8 }} d-flex justify-content-around
|#default={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-8 }} float-left mr-3
|#default={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-left pr-4
}} my-2 text-center">
}} mt-3 mb-2 text-center">
<div class="mb-2">{{#if: {{#show:{{{ page | }}}|?pdflink}}  
<div class="mb-2 d-flex justify-content-center">{{#if: {{#show:{{{ page | }}}|?pdflink}}  
| [[{{{ page | }}}|class=p-3]]  
| [[{{{ page | }}}|class=p-3]]  
| {{#ask: [[{{{ page | }}}]]  
| {{#ask: [[{{{ page | }}}]]  
Line 17: Line 17:
|format=template
|format=template
|template=ShowVideo
|template=ShowVideo
|userparam={{{ width | 381 }}}
|userparam={{{ width | 375 }}}
}}
}}
}}
}}
Line 26: Line 26:
|depth=1
|depth=1
|link={{{ speaker | }}}
|link={{{ speaker | }}}
|classes=none
|linkclasses=none
}}</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 | }}}  
Line 32: Line 34:
}}]]
}}]]
</div> | }}
</div> | }}
</div>{{#switch:{{{ float | }}}
</div>{{#ifeq:{{{ float | }}}
|right=
|center
|center=
|</div>
|#default=</div>
|
}}
}}
</noglossary>
</noglossary>

Latest revision as of 16:46, 16 July 2020