Template:HomeTile: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="{{{ wrapperclasses | }}}"> | <includeonly><div class="{{{ wrapperclasses | }}}"> | ||
<div class="home-tile | <div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}">{{#widget:HomeTileImgDiv | ||
|src={{filepath:{{{ image | }}}|{{{ imagesize | 800 }}}}} | |||
<div class="px-3 pt-1 pb-2 home-tile-heading border- | }} | ||
<div class="px-3 pb- | <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">{{{ description | }}}</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="px-3" style="padding-top: 1.75rem; padding-bottom: 1rem; border-top: 1px solid rgba(179, 0, 0, 1)"> | <div class="bottom-label" style="left: 1rem; bottom: 1rem;">{{{ bottomleftlabel | }}}</div> | }}{{#if: {{{ bottomrightlabel | }}} | | ||
<div class="bottom-label" style="left: 1rem; bottom: 1rem;">{{{ bottomleftlabel | }}}</div> | <div class="bottom-label" style="right: 1rem; bottom: 1rem;">{{{ bottomrightlabel | }}}</div> | }} | ||
<div class="bottom-label" style="right: 1rem; bottom: 1rem;">{{{ bottomrightlabel | }}}</div> | </div> | }}{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink | ||
</div> | |||
|link=/index.php/{{{ tilelink | }}} | |link=/index.php/{{{ tilelink | }}} | ||
|target=_self | |target=_self | ||
|classes=none | |classes=none | ||
|title={{{ tilelink | }}} | |title={{{ tilelink | }}} | ||
}} | }} }} | ||
</div> | </div> | ||
</div> | </div></includeonly><noinclude>{{TemplateTag}}</noinclude> |