Template:HomeTile: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}">{{#widget:HomeTileImgDiv | <div class="tsdwiki-home-tile {{#ifeq: {{{ disableLink | }}} | yes | tsdwiki-depth-0 | tsdwiki-pop-off }}">{{#widget:HomeTileImgDiv | ||
|src={{filepath:{{{ image | }}}|{{{ imagesize | 800 }}}}} | |src={{filepath:{{{ image | }}}|{{{ imagesize | 800 }}}}} | ||
|bgImgPos={{{ bgImgPos | 50% 50% }}} | |||
}} | }} | ||
<div class="px-3 pt-1 pb-2 tsdwiki-home-tile-heading tsdwiki-border-br-redfade">{{{ header | }}}</div>{{#if: {{{ description | }}} | | <div class="px-3 pt-1 pb-2 tsdwiki-home-tile-heading {{#if: {{{ description | }}} | tsdwiki-border-br-redfade | }}">{{{ header | }}}</div>{{#if: {{{ description | }}} | | ||
<div class="px-3 pb-4">{{{ description | }}}</div> | }}{{#if: {{{ bottomleftlabel | }}}{{{ bottomrightlabel | }}} | | <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)">{{#if: {{{ bottomleftlabel | }}} | |