Template:InsertMedia: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
}} | }} | ||
<div class="{{#switch:{{{ float | }}} | <div class="{{#switch:{{{ float | }}} | ||
|right={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-right | |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 | |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 | |#default={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-left pr-4 | ||
}} mt-3 mb-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 | | |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 | }}} |