Template:HomeTile: Difference between revisions

From Dudjom Wiki
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
Line 1: Line 1:
<includeonly><div class="{{{ wrapperclasses | }}}">
<includeonly><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 }}">{{#widget:HomeTileImgDiv
<div class="row h-100">
|imagesrc={{filepath:{{{ image | }}}|600}}
<div class="col-5">{{#widget:HomeTileImgDiv
|styles={{{ styles | }}}
|classes={{{ imgclasses | }}}
}}
|imagesrc={{filepath:{{{ image | }}}|600}}
<div class="p-0">
|styles={{{ styles | }}}
<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 | }}} |  
|bgPosition={{{ bgPosition | }}}
<div class="px-3 pb-4">
}}
<div class="home-tile-text">{{{ description | }}}</div>
</div>
</div> | }}{{#if: {{{ bottomleftlabel | }}}{{{ bottomrightlabel | }}} |
<div class="col-7 text-left align-items-center">
<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="pr-3 pt-1 pb-1 tsdwiki-home-tile-heading tsdwiki-border-br-redfade line15" style="font-size: 1.4em;">{{{ header | }}}</div>{{#if: {{{ description | }}} |  
<div class="bottom-label" style="left: 1rem; bottom: 1rem;">{{{ bottomleftlabel | }}}</div> | }}{{#if: {{{ bottomrightlabel | }}} |
<div class="pr-3 pb-4">
<div class="bottom-label" style="right: 1rem; bottom: 1rem;">{{{ bottomrightlabel | }}}</div> | }}
<div class="home-tile-text text-110 line14">{{{ description | }}}</div>
</div> | }}
</div> | }}{{#if: {{{ bottomleftlabel | }}}{{{ bottomrightlabel | }}} |
<div class="pr-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>
</div>{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink
</div>{{#ifeq: {{{ disableLink | }}} | yes | | {{#widget:OverlayLink
|link=/index.php/{{{ tilelink | }}}
|link=/index.php/{{{ tilelink | }}}

Latest revision as of 12:29, 30 October 2025