Template:FeaturedItem: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 4: Line 4:
|classes=d-none d-sm-block col-sm-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
|classes=d-none d-sm-block col-sm-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
}} | }}
}} | }}
<div class="{{#if: {{{ image | }}} | col-sm-9 | col-12 }}{{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
<div class="{{#if: {{{ image | }}} | col-sm-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> | }}
<p>{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</p>
<p>{{{ description | {{#show: {{{ page | }}}|?ArticleSummary }} }}}</p>

Revision as of 06:38, 21 June 2019