Template:HomeTile: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="{{{ wrapperclasses | }}}"> | <div class="{{{ wrapperclasses | }}}"> | ||
<div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}"> | <div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }} row"> | ||
<div class="home-tile-image {{{ backimgclass | }}}" style="{{{ styles | padding-top: 100%; }}}"></div> | <div class="home-tile-image {{{ backimgclass | }}} col-4" style="{{{ styles | padding-top: 100%; }}}"></div> | ||
<div class="px-3 pt-1 pb-2 tsdwiki-home-tile-heading tsdwiki-border-br-redfade">{{{ header | }}}</div>{{#if: {{{ description | }}} | | <div class="col-8"> | ||
<div class="px-3 pt-1 pb-2 tsdwiki-home-tile-heading tsdwiki-border-br-redfade">{{{ 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 |