Template:FloatingBox: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="px-3 pt-1 pb-2 text-80 border-secondary no-drop-cap {{{ size | }}} {{{ background | }}} {{#switch: {{{ side | }}}
<div class="pl-3 pr-0 px-lg-3 pt-1 pb-2 text-80 border-secondary no-drop-cap mt-2 mb-2 {{{ size | }}} {{{ background | }}} {{#ifeq: {{{ style | }}}
|right=float-right mt-1 mb-1 ml-3 border-left
| bnw-panel
|left=float-left mt-1 mb-1 mr-3 border-right
| bnw-panel depth-1 rounded
}}">
|
<h4 class="border-bottom-rightfade">{{{ header | }}}</h4>
}} {{#switch: {{{ side | }}}
{{{ content | }}}
|right=float-right ml-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-left }}
|left=float-left mr-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-right text-right }}
|left-left=float-left mr-3 border-right
}}">{{#if: {{{ header | }}} |
<h4 class="border-bottom-{{#ifeq: {{{ style | }}} | bnw-panel | right | {{{ side | }}} }}fade">{{{ header | }}}</h4>|}}
<div class="{{#ifeq: {{{ justify | }}} | true | text-justify | }}">{{{ content | }}}</div>
</div>
</div>

Latest revision as of 16:58, 16 July 2020