Template:PanelLargerText: Difference between revisions
From Bodhicitta
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
|position={{{ bg-position | }}} | |position={{{ bg-position | }}} | ||
|styles={{{ styles | }}} | |styles={{{ styles | }}} | ||
}}</div>{{#ifeq:{{{image-side|}}}|right|| | }}{{#if: {{{ imageSource | }}} | | ||
<div class="position-absolute text-center" style="bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.85); color: #333; padding: 4px 8px; font-size: 0.8rem;"> | |||
{{{ imageSource | }}} | |||
</div> | }}</div>{{#ifeq:{{{image-side|}}}|right|| | |||
<div class="{{{ text-cols | col-md-8 }}} p-4 p-lg-5">{{#if: {{{ header | }}} | | <div class="{{{ text-cols | col-md-8 }}} p-4 p-lg-5">{{#if: {{{ header | }}} | | ||
<h3 class="mt-1 {{{ header-classes | }}}">{{{ header | }}}</h3> | }} | <h3 class="mt-1 {{{ header-classes | }}}">{{{ header-classes | }}}">{{{ header | }}}</h3> | }} | ||
<div class="text-article {{{ text-classes | }}}"> | <div class="text-article {{{ text-classes | }}}"> | ||
{{{ text | }}} | {{{ text | }}} | ||