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 | | bnw-panel | ||
|left=float-left | | 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> |