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 {{{ classes | }}}">{{#if: {{{ image | }}} | {{#widget:DivWithBackImg
<div class="explore-featured row d-flex {{{ classes | }}}">{{#if: {{{ imagelink | }}}
|src={{{ image | }}}
|{{#widget:DivWithBackImgWithLink
|imageposition=center
|src={{{ image | }}}
|classes={{#switch: {{{ imageposition | }}}  
|imageposition=center
|right=d-none d-lg-block order-last col-lg-4
|imagelink={{{ imagelink | }}}
|top=col-12 h-100
|classes={{#switch: {{{ imageposition | }}}
|left
|right=d-none d-lg-block order-last col-lg-4
|#default=d-none d-lg-block col-lg-4
|top=col-12 h-100
}} {{{ imageclasses | }}}
|left
}} | }}
|#default=d-none d-lg-block col-lg-4
}} {{{ imageclasses | }}}
}}
|{{#if: {{{ image | }}} | {{#widget:DivWithBackImg
|src={{{ image | }}}
|imageposition=center
|classes={{#switch: {{{ imageposition | }}}  
|right=d-none d-lg-block order-last col-lg-4
|top=col-12 h-100
|left
|#default=d-none d-lg-block col-lg-4
}} {{{ imageclasses | }}}
}} | }}
}}
<div class="{{#if: {{{ image | }}} | col-lg-8 | col-12 }} {{{ textclasses | }}} px-4">{{#if: {{{ title | }}} |  
<div class="{{#if: {{{ image | }}} | col-lg-8 | col-12 }} {{{ textclasses | }}} px-4">{{#if: {{{ title | }}} |  
<div class="header">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
<div class="header">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}

Revision as of 16:50, 12 January 2021