Template:HomeTile: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(10 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 style="height: 320px; overflow: hidden;">[[{{{ image | }}}|x600px|class=w-100 h-auto|middle]]</div> | |||
<div class=" | |{{#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 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="px-3 pb-4"> |