Template:FeaturedItem: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="row {{#switch: {{{ imageposition | }}}
<div class="row mx-0 {{{ classes | }}}">{{#if: {{{ imagelink | }}}
|right=mr-0
|top=mx-0
|left
|#default=ml-0
}} {{{ classes | }}}">{{#if: {{{ imagelink | }}}
|{{#widget:DivWithBackImgWithLink
|{{#widget:DivWithBackImgWithLink
|src={{{ image | }}}
|src={{{ image | }}}
Line 30: Line 25:
}}
}}
<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="text-120 mx-2">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
<div class="text-120 my-2">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
<div class="clearfix pb-4">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</div>
<div class="clearfix pb-4">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</div>
<div>{{{ additionalcontent | }}}</div>
<div>{{{ additionalcontent | }}}</div>
</div>
</div>
</div>
</div>

Latest revision as of 21:37, 12 December 2024