Template:FloatingBox: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(21 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 | | bnw-panel | ||
|left=float-left | | bnw-panel depth-1 rounded | ||
}}"> | | | ||
<h4 class="border-bottom- | }} {{#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> |