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=col-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | |classes=col-3 {{#ifeq: {{{ imageposition | }}} | right | order-last | }} {{{ imageclasses | }}} | ||
}} | }} | ||
<div class="col-9 {{{ textclasses | }}}">{{#if: {{{ title | }}} | | <div class="col-9 {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | order-last 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> | ||
</div> | </div> | ||
</div> | </div> |
Revision as of 03:40, 21 June 2019