Template:HomeTile: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) |
(VSCode edit) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="{{{ wrapperclasses | }}}"> | <includeonly><div class="{{{ wrapperclasses | }}}"> | ||
<div class="rounded-xl offwhite-bg position-relative font-serif text-130 overflow-hidden {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}" style="height: {{{ height | | <div class="rounded-xl offwhite-bg position-relative font-serif text-130 overflow-hidden {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}" style="height: {{{ height | 500px }}};">{{#widget:HomeTileImgDiv | ||
|src={{filepath:{{{ image | }}}|{{{ imagesize | 800 }}}}} | |src={{filepath:{{{ image | }}}|{{{ imagesize | 800 }}}}} | ||
|bgPosition={{{ bgPosition | 50% 50% }}} | |bgPosition={{{ bgPosition | 50% 50% }}} | ||
|imgHeight={{{ imgHeight | }}} | |||
}} | }} | ||
<div class="px-3 pb-2 my-3 text-120 tsdwiki-border-br-redfade">{{{ header | }}}</div>{{#if: {{{ description | }}} | | <div class="px-3 pb-2 my-3 text-120 tsdwiki-border-br-redfade {{{ header-classes | }}}">{{{ header | }}}</div>{{#if: {{{ description | }}} | | ||
<div class="mx-3 text-article clipped-5-lines" style="margin-bottom: 2.4rem !important; min-height: 122px;">{{{ description | }}}</div> | }}{{#if: {{{ bottomleftlabel | }}} | | <div class="mx-3 text-article clipped-{{{ text-lines |5}}}-lines" style="margin-bottom: 2.4rem !important; min-height: 122px;">{{{ description | }}}</div> | }}{{#if: {{{ bottomleftlabel | }}} | | ||
<div class="position-absolute font-italic text-right w-100 px-3 line10" style="bottom: .7rem; color: #326991;">{{{ bottomleftlabel | }}}</div> | }}{{#if: {{{ bottomrightlabel | }}} | | <div class="position-absolute font-italic text-right w-100 px-3 line10" style="bottom: .7rem; color: #326991;">{{{ bottomleftlabel | }}}</div> | }}{{#if: {{{ bottomrightlabel | }}} | | ||
<div class="position-absolute font-sans text-60 text-right w-100 px-3 line10 text-uppercase" style="bottom: .7rem; color: #326991;">{{{ bottomrightlabel | }}}</div> | }}{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink | <div class="position-absolute font-sans text-60 text-right w-100 px-3 line10 text-uppercase" style="bottom: .7rem; color: #326991;">{{{ bottomrightlabel | }}}</div> | }}{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink | ||