Difference between revisions of "Template:FloatingBox"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(4 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 mt-2 mb-2 {{{ size | }}} {{{ background | }}} {{#ifeq: {{{ style | }}}  
+
<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 | }}}  
 
| bnw-panel  
 
| bnw-panel  
 
| bnw-panel depth-1 rounded
 
| bnw-panel depth-1 rounded
Line 6: Line 6:
 
|right=float-right ml-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-left }}
 
|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=float-left mr-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-right text-right }}
}}">
+
|left-left=float-left mr-3 border-right
<h4 class="border-bottom-{{#ifeq: {{{ style | }}} | bnw-panel | right | {{{ side | }}} }}fade">{{{ header | }}}</h4>
+
}}">{{#if: {{{ header | }}} |
<p class="text-justify">{{{ content | }}}</p>
+
<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