Template:PanelTransparentDual: Difference between revisions

From Bodhicitta
No edit summary
No edit summary
Line 1: Line 1:
{{PanelTransparentDual
<includeonly><div class="dual-panel-container {{{ classes | }}}">
|classes=my-5
<!-- First Section -->
|bg-image1=
<div class="row mx-3 position-relative {{{ section1-classes | }}}">
|image1-side=left
<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=53% 17%
|smallImage={{filepath:{{#titleparts:{{PAGENAME:{{{ bg-image1 | }}}}}}}|600}}
|imgClasses1=rounded-lg tsdwiki-depth-1
|image={{filepath:{{#titleparts:{{PAGENAME:{{{ bg-image1 | }}}}}}}|1000}}
|header1=
|size={{{ bg-size1 | cover }}}
|text1=
|position={{{ bg-position1 | }}}
|bg-image2=
|styles={{{ styles1 | }}}
|image2-side=right
|classes={{{ imgClasses1 | }}}
|bg-position2=50% 50%
}}
|imgClasses2=rounded-lg tsdwiki-depth-1
</div>
|header2=
<div class="col-md-{{{ text1-width |8}}} {{#ifeq:{{{ image1-side | }}}|right|pl-0 pr-md-4 pr-lg-5|pr-0 pl-0 pl-md-4 pl-lg-5}} ">{{#if: {{{ header1 | }}} |
|text2=
<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|pl-0 pr-md-4 pr-lg-5|pr-0 pl-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>

Revision as of 15:53, 21 November 2025