Difference between revisions of "Template:ExTile"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="filterable {{{ classes | col-lg-6 }}}"><noglossary>
 
<div class="filterable {{{ classes | col-lg-6 }}}"><noglossary>
<div class="bnw-page-tile pop-hover mt-1 mb-4 position-relative link-no-border">{{#widget:OverlayLink
+
<div class="bnw-page-tile pop-hover mt-1 mb-4 position-relative link-no-border">
|link=/index.php/{{urlencode:{{{ link }}}}}
 
|classes=no-classes
 
|target=_self
 
|title={{{ header }}}
 
}}
 
 
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
 
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
 
|src={{#if: {{{ image | }}} | {{{ image }}} | {{filepath:Sutra.jpg}} }}
 
|src={{#if: {{{ image | }}} | {{{ image }}} | {{filepath:Sutra.jpg}} }}
 
|imageposition=center
 
|imageposition=center
 
|classes=tile-image
 
|classes=tile-image
 +
|styles=none
 
}}
 
}}
 
<div class="type-icon mt-auto">{{{ watermark | }}}</div>
 
<div class="type-icon mt-auto">{{{ watermark | }}}</div>
Line 18: Line 14:
 
<div class="tile-description clipped-4-lines">{{{ content }}}</div>
 
<div class="tile-description clipped-4-lines">{{{ content }}}</div>
 
</div>
 
</div>
<div class="position-absolute pr-2 pb-1 opac-60 text-80" style="right: 0; bottom: 0;">external link <i class="fad fa-external-link"></i></div>
+
<div class="position-absolute pr-2 pb-1 opac-60 text-80" style="right: 0; bottom: 0;">external link <i class="fad fa-external-link"></i></div>{{#widget:OverlayLink
 +
|link={{{ link }}}
 +
|classes=no-classes
 +
|target=_blank
 +
|title={{{ header }}}
 +
}}
 
</div></noglossary>
 
</div></noglossary>
 
</div>
 
</div>

Latest revision as of 13:21, 18 January 2021