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-none d-xs-block col-xs-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
|classes=d-none d-md-block col-md-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
}} | }}
}} | }}
<div class="{{#if: {{{ image | }}} | col-xs-9 | col-12 }} {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
<div class="{{#if: {{{ image | }}} | col-md-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">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</div>
<div class="clearfix">{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</div>

Revision as of 14:55, 1 July 2019