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= | |classes={{#switch: {{{ imageposition | }}} | ||
|right=d-none d-lg-block order-last col-lg-3 | |||
|left=d-none d-lg-block col-lg-3 | |||
|top= | |||
}} {{{ imageclasses | }}} | |||
}} | }} | }} | }} | ||
<div class="{{#if: {{{ image | }}} | col-lg-9 | col-12 }} {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} | | <div class="{{#if: {{{ image | }}} | col-lg-9 | col-12 }} {{{ textclasses | }}} {{#ifeq: {{{ imageposition | }}} | right | pr-4 | pl-4 }}">{{#if: {{{ title | }}} | |