Template:PanelTransparentDual: Difference between revisions
From Bodhicitta
(Created page with "{{PanelTransparentDual |classes=my-5 |bg-image1=File:Khenpo_Kunpal-Lotsawa_House.jpg |image1-side=left |bg-position1=53% 17% |imgClasses1=rounded-lg tsdwiki-depth-1 |header1=''The Nectar of Manjushri's Speech'' by Kunzang Pelden |text1=The most important work is The Nectar of Manjushri's Speech... |bg-image2=File:Mipham_Rinpoche.jpg |image2-side=right |bg-position2=50% 50% |imgClasses2=rounded-lg tsdwiki-depth-1 |header2=Major Works by Mipham Rinpoche |text2=Although Mip...") |
(Mobile: side padding on the text columns below md, as PanelTransparent) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | <includeonly><div class="dual-panel-container {{{ classes | }}}"> | ||
| | <!-- First Section --> | ||
|bg-image1= | <div class="row mx-3 position-relative {{{ section1-classes | }}}"> | ||
| | <div class="col-md-{{{ image1-width |4}}} {{#ifeq:{{{ image1-side | }}}|right|order-md-last|order-md-first}}" style="min-height: 200px;">{{#widget:BgImageSimple | ||
|bg-position1= | |smallImage={{filepath:{{#titleparts:{{PAGENAME:{{{ bg-image1 | }}}}}}}|600}} | ||
|imgClasses1= | |image={{filepath:{{#titleparts:{{PAGENAME:{{{ bg-image1 | }}}}}}}|1000}} | ||
| | |size={{{ bg-size1 | cover }}} | ||
| | |position={{{ bg-position1 | }}} | ||
|bg-image2= | |styles={{{ styles1 | }}} | ||
| | |classes={{{ imgClasses1 | }}} | ||
|bg-position2= | }} | ||
|imgClasses2= | </div> | ||
| | <div class="col-md-{{{ text1-width |8}}} {{#ifeq:{{{ image1-side | }}}|right|px-3 pl-md-0 pr-md-4 pr-lg-5|px-3 pr-md-0 pl-md-4 pl-lg-5}} ">{{#if: {{{ header1 | }}} | | ||
| | <h3 class="red-header pt-0 mt-5 mt-md-4">{{{ header1 | }}}</h3> | }} | ||
}} | <div class="text-article {{{ text1-classes | }}}"> | ||
{{{ text1 | }}} | |||
</div> | |||
</div> | |||
</div> | |||
<!-- Second Section --> | |||
<div class="row mx-3 position-relative {{{ section2-classes | }}}"> | |||
<div class="col-md-{{{ image2-width |4}}} {{#ifeq:{{{ image2-side | }}}|right|order-md-last|order-md-first}}" style="min-height: 200px;">{{#widget:BgImageSimple | |||
|smallImage={{filepath:{{#titleparts:{{PAGENAME:{{{ bg-image2 | }}}}}}}|600}} | |||
|image={{filepath:{{#titleparts:{{PAGENAME:{{{ bg-image2 | }}}}}}}|1000}} | |||
|size={{{ bg-size2 | cover }}} | |||
|position={{{ bg-position2 | }}} | |||
|styles={{{ styles2 | }}} | |||
|classes={{{ imgClasses2 | }}} | |||
}} | |||
</div> | |||
<div class="col-md-{{{ text2-width |8}}} {{#ifeq:{{{ image2-side | }}}|right|px-3 pl-md-0 pr-md-4 pr-lg-5|px-3 pr-md-0 pl-md-4 pl-lg-5}} ">{{#if: {{{ header2 | }}} | | |||
<h3 class="red-header pt-0 mt-5 mt-md-4">{{{ header2 | }}}</h3> | }} | |||
<div class="text-article {{{ text2-classes | }}}"> | |||
{{{ text2 | }}} | |||
</div> | |||
</div> | |||
</div> | |||
</div></includeonly><noinclude>{{TemplateTag}}</noinclude> | |||