Template:FeaturedItem: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 3: Line 3:
|src={{{ image | }}}
|src={{{ image | }}}
|imageposition=center
|imageposition=center
|classes=col-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}}
|classes=col-3 {{#ifeq: {{{ imageposition | }}} | right | order-last ml-4 | mr-4 }} {{{ imageclasses | }}}
}}
}}
<div class="col-9 {{{ textclasses | }}} pl-4">{{#if: {{{ title | }}} |  
<div class="col-9 {{{ textclasses | }}}">{{#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>
</div>
</div>
</div>
</div>

Revision as of 03:38, 21 June 2019