Template:FeaturedItem: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<div class="explore-featured row d-flex">{{#widget:DivWithBackImg
<div class="explore-featured row d-flex">{{#if: {{{ image | }}} | {{#widget:DivWithBackImg
|src={{{ image | }}}
|src={{{ image | }}}
|imageposition=center
|imageposition=center
|classes=d-none d-sm-block col-sm-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
|classes=d-none d-sm-block col-sm-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
}}
}} | }}
<div class="col-sm-9 {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
<div class="{{#if: {{{ image | }}} | col-sm-9 | }}{{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
<div class="header">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
<div class="header">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
<p>{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</p>
<p>{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</p>

Revision as of 06:38, 21 June 2019