Template:FeaturedItem: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 2: Line 2:
|src={{{ image | }}}
|src={{{ image | }}}
|imageposition=center
|imageposition=center
|classes=d-block d-sm-none w-100 h-25 {{{ imageclasses | }}}
|classes=d-block d-sm-none w-100 h-50 {{{ imageclasses | }}}
}}{{#widget:DivWithBackImg
}}{{#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 h-100 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
}}
}}
<div class="col-sm-9 {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
<div class="col-sm-9 {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  

Revision as of 06:12, 21 June 2019