Template:RelatedButton: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="discover-nav-button position-relative link-no-border {{{ wrapperclasses | }}}">{{#if: {{{ link | }}}  
<includeonly><div class="tsdwiki-tile-button link-no-border noglossary {{{ wrapperclasses | }}}">
| {{#widget:OverlayLink
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage
|link={{{ link | }}}
|filepath={{#if: {{{ imagefile | }}}
|classes=grey-hoverlay
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320
|target={{{ target | _self }}}
| {{{ image | }}}
}}
}}
|
|size=55px
}}
|depth={{#switch: {{{ image | }}}
<div class="clearfix">
|https://commons.tsadra.org/images-commons/3/39/Topics.png
<div class="float-left mr-2 position-relative text-center" style="width: 70px;">{{#widget:PersonPageRoundImage
|https://commons.tsadra.org/images-commons/3/3a/Dictionary.png=
|filepath={{{ image | }}}
|#default=1
|size=55px
|depth=1
|link={{{ link | }}}
|linkclasses=&nbsp;
}}
}}
</div>
|classes=none
<div class="tile-content">
}}
<p class="m-0">{{{ text | }}}</p>
</div>
</div>
</div>
<div class="d-flex justify-content-between font-weight-light" style="font-size: .9em;">
<div class="tile-content">
<p class="m-0 mt-3">{{{ label | }}}</p>
<p class="clipped-3-lines m-0 text-break {{{ textclasses | }}}">{{{ text | }}}</p>
<p class="m-0 mt-3"><i class="ml-1 fal fa-arrow-{{{ arrow | }}}"></i></p>
</div>
</div>
</div>
<div class="bottom-label" style="left: 9px;">{{{ label | }}}</div>
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}}
| {{#widget:OverlayLink
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | /index.php/{{PAGENAMEE:{{{ link | }}}}} }}
|target={{{ target | _self }}}
|title={{{ text | }}}
|classes=none
}}
|
}}
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 20:45, 12 December 2024