Template:NewHomeTile: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
|src={{filepath:{{#titleparts:{{PAGENAME:{{{ image | }}}}}}}|500}} | |src={{filepath:{{#titleparts:{{PAGENAME:{{{ image | }}}}}}}|500}} | ||
|imageposition={{{ bgPosition | 50% 50% }}} | |imageposition={{{ bgPosition | 50% 50% }}} | ||
|content=<i class="fa-sharp-duotone fa-{{{ icon | }}} fa-xl | |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="{{{ 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="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 class="text-muted clipped-4-lines unclamp-here text-110" style="{{{ text-styles | }}}">{{{ content | }}}</div> | ||
</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> | |link=<a href="/index.php/{{{ link | }}}" class="overlay-link target="_self" title="{{{ header | }}}"></a> | ||
}}</div></includeonly> | }}</div></includeonly> | ||