Template:FloatingBox: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<div class="px-3 pt-1 pb-2 text-80 border-secondary no-drop-cap {{{ size | }}} {{{ background | }}} {{{ style | }}} {{#switch: {{{ side | }}}
<div class="px-3 pt-1 pb-2 text-80 border-secondary no-drop-cap mt-1 mb-1 {{{ size | }}} {{{ background | }}} {{#ifeq: {{{ style | }}}
|right=float-right mt-1 mb-1 ml-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-left }}
| bnw-panel
|left=float-left mt-1 mb-1 mr-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-right text-right }}
| bnw-panel depth-2 rounded
|
}}{{#switch: {{{ side | }}}
|right=float-right ml-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-left }}
|left=float-left mr-3 {{#ifeq: {{{ style | }}} | bnw-panel | | border-right text-right }}
}}">
}}">
<h4 class="border-bottom-{{{ side | }}}fade">{{{ header | }}}</h4>
<h4 class="border-bottom-{{{ side | }}}fade">{{{ header | }}}</h4>
{{{ content | }}}
{{{ content | }}}
</div>
</div>

Revision as of 13:28, 11 October 2019