Template:FloatingBox: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(One intermediate revision 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 | |||
}}">{{#if: {{{ header | }}} | | }}">{{#if: {{{ header | }}} | | ||
<h4 class="border-bottom-{{#ifeq: {{{ style | }}} | bnw-panel | right | {{{ side | }}} }}fade">{{{ header | }}}</h4>|}} | <h4 class="border-bottom-{{#ifeq: {{{ style | }}} | bnw-panel | right | {{{ side | }}} }}fade">{{{ header | }}}</h4>|}} | ||
<div class="{{#ifeq: {{{ justify | }}} | true | text-justify | }}">{{{ content | }}}</div> | <div class="{{#ifeq: {{{ justify | }}} | true | text-justify | }}">{{{ content | }}}</div> | ||
</div> | </div> |