Difference between revisions of "Template:FeaturedItem"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 9: | Line 9: | ||
}} {{{ imageclasses | }}} | }} {{{ imageclasses | }}} | ||
}} | }} | }} | }} | ||
− | <div class="{{#if: {{{ image | }}} | col-lg-8 | col-12 }} {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} | | + | <div class="{{#if: {{{ image | }}} | col-lg-8 | col-12 }} {{{ textclasses | }}} px-4 {{#ifeq: {{{ imageposition | }}} | right | pr-lg-4 pl-lg-0 | pl-lg-4 pr-lg-0 }}">{{#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> |