Template:InsertMedia: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<noglossary>{{# | <noglossary>{{#ifeq:{{{ float | }}} | ||
|center | |||
|center | |<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 ml-3 | ||
|center={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-8 }} d-flex | |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 mr-3 | |#default={{#if: {{{ columns | }}} | col-lg-{{{ columns | }}} | col-lg-6 }} float-left mr-3 | ||
}} my-2 text-center"> | }} my-2 text-center"> | ||
Line 32: | Line 32: | ||
}}]] | }}]] | ||
</div> | }} | </div> | }} | ||
</div>{{# | </div>{{#ifeq:{{{ float | }}} | ||
|center | |||
|center | |</div> | ||
| | | | ||
}} | }} | ||
</noglossary> | </noglossary> |