Template:HomeTile: Difference between revisions

From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(14 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-depth-0 | tsdwiki-pop-off }}">
<div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}">{{#if:{{{ image | }}}
<div class="home-tile-image {{{ backimgclass | }}}" style="{{{ styles | padding-top: 100%; }}}"></div>
|<div style="height: 320px; overflow: hidden;">[[{{{ image | }}}|x600px|class=w-100 h-auto|middle]]</div>
<div class="px-3 pt-1 pb-2 tsdwiki-home-tile-heading tsdwiki-border-br-redfade">{{{ header | }}}</div>{{#if: {{{ description | }}} |  
|{{#widget:HomeTileImgDiv
<div class="px-3 pb-4">
|imagesrc={{{ imagesrc | }}}
<div class="home-tile-text">{{{ description | }}}</div>
|styles={{{ styles | }}}
</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="p-0">
<div class="bottom-label" style="right: 1rem; bottom: 1rem;">{{{ bottomrightlabel | }}}</div> | }}
<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> | }}{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink
<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

Latest revision as of 10:56, 23 February 2024