Template:InsertMedia: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
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">{{#if: {{#show:{{{ page | }}}|?pdflink}} |