Template:NewHomeTile: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="my-4 animate__animated animate__fadeInUp {{{ wrapperClasses | }}}" style="opacity: 0; {{{ style | }}}">{{#widget:DivWithBackImg | <includeonly><div class="my-4 animate__animated animate__fadeInUp {{{ wrapperClasses | }}}" style="opacity: 0; {{{ style | }}}">{{#widget:DivWithBackImg | ||
|classes=rounded-xl tsdwiki-pop-off h-100 overflow-hidden | |||
|src={{filepath:{{#titleparts:{{PAGENAME:{{{ image | }}}}}}}|500}} | |||
|imageposition={{{ bgPosition | 50% 50% }}} | |||
|content=<div class="text-right p-2"><i class="fa-sharp-duotone fa-{{{ icon | }}} fa-xl text-muted"></i></div> | |||
<div class="{{{ text-wrapper-classes | }}} p-3" style="{{{ text-wrapper-styles | }}}"> | |||
<div class="h4 mb-2 p-0 clipped-2-lines border-0 text-150 line13 font-serif-alt" style="{{{ text-styles | }}}">{{{ header | }}}</div> | |||
<div class="text-muted clipped-4-lines unclamp-here text-110" style="{{{ text-styles | }}}">{{{ content | }}}</div> | |||
</div> | |||
|contentClasses=h-100 d-flex flex-column justify-content-between | |||
|link=<a href="/index.php/{{{ link | }}}" class="overlay-link target="_self" title="{{{ header | }}}"></a> | |||
}}</div></includeonly> | |||
</div></includeonly> | |||