Template:LocalTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(14 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 tsdwiki-pop-off mt-1 mb-4 position-relative link-no-border">
|link=/Index.php/{{urlencode:{{{ link }}}|WIKI}}
|classes=no-classes
|target=_self
|title={{{ header }}}
}}
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|src={{#if: {{{ image | }}}  
|src={{#if: {{{ image | }}} | {{{ image }}} | {{filepath:Sutra.jpg}} }}
| {{#ifexist: {{{ image }}}
| {{filepath:{{PAGENAME:{{{ image }}}}}|300}}
| {{{ 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 22: Line 13:
<hr class="tile-divider">
<hr class="tile-divider">
<div class="tile-description clipped-4-lines">{{{ content }}}</div>
<div class="tile-description clipped-4-lines">{{{ content }}}</div>
</div>
</div>{{#if: {{{ link | }}} | {{#widget:OverlayLink
</div></noglossary>
|link=/index.php/{{urlencode:{{{ link }}}|WIKI}}
|classes=no-classes
|target=_self
|title={{{ header }}}
}} | {{#if: {{{ ExtLink | }}} | {{#widget:OverlayLink
|link={{{ ExtLink }}}
|classes=no-classes
|target=_blank
|title={{{ header }}}
}} | }}
}}{{#if: {{{ left-bottom-label | }}} |
<div class="localtile-left-bottom-label">{{{ left-bottom-label | }}}</div>| }}
</div>{{#if: {{{ extracontent | }}} |
{{{ extracontent | }}} | }}</noglossary>
</div>
</div>

Latest revision as of 21:03, 12 December 2024