Template:HomeTile: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="{{{ wrapperclasses | }}}"> | <div class="{{{ wrapperclasses | }}}"> | ||
<div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | | tsdwiki-pop-off }}"> | <div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}">{{#if:{{{ image | }}} | ||
|<div style="height: 320px; overflow: hidden;">[[{{{ image | }}}|x600px|class=w-100 h-auto|middle]]</div> | |||
|{{#widget:HomeTileImgDiv | |||
|imagesrc={{{ imagesrc | }}} | |||
|styles={{{ styles | }}} | |||
}} | |||
}} | |||
<div class="p-0"> | |||
<div class="px-3 pt-1 pb-2 tsdwiki-home-tile-heading tsdwiki-border-br-redfade" style="font-size: 1.5rem;">{{{ header | }}}</div>{{#if: {{{ description | }}} | | |||
<div class="px-3 pb-4"> | |||
<div class="home-tile-text">{{{ description | }}}</div> | |||
</div> | }}{{#if: {{{ bottomleftlabel | }}}{{{ bottomrightlabel | }}} | | |||
<div class="px-3" style="padding-top: 1.75rem; padding-bottom: 1rem; border-top: 1px solid rgba(179, 0, 0, 1)">{{#if: {{{ bottomleftlabel | }}} | | |||
<div class="bottom-label" style="left: 1rem; bottom: 1rem;">{{{ bottomleftlabel | }}}</div> | }}{{#if: {{{ bottomrightlabel | }}} | | |||
<div class="bottom-label" style="right: 1rem; bottom: 1rem;">{{{ bottomrightlabel | }}}</div> | }} | |||
</div> | }} | |||
</div>{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink | |||
|link=/index.php/{{{ tilelink | }}} | |link=/index.php/{{{ tilelink | }}} | ||
|target=_self | |target=_self |