Difference between revisions of "Template:FeaturedItem"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 4: Line 4:
 
|classes=d-none d-lg-block col-lg-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
 
|classes=d-none d-lg-block col-lg-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
 
}} | }}
 
}} | }}
<div class="{{#if: {{{ image | }}} | col-lg-9 | col-12 }} {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }} pb-4">{{#if: {{{ title | }}} |  
+
<div class="{{#if: {{{ image | }}} | col-lg-9 | col-12 }} {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
 
<div class="header">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
 
<div class="header">[[{{{ page | }}}|{{{ title | }}}]]</div> | }}
 
<div class="clearfix pb-4">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</div>
 
<div class="clearfix pb-4">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</div>

Revision as of 04:58, 5 July 2019