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="col-9 {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} |  
<div class="col-sm-9 {{{ 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>
</div>
</div>
</div>
</div>

Revision as of 04:01, 21 June 2019