Template:RelatedButton: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(63 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="discover-nav-button position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{ link | }}}|WIKI}}|classes=grey-hoverlay}}
<includeonly><div class="tsdwiki-tile-button link-no-border noglossary {{{ wrapperclasses | }}}">
<div class="clearfix">
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage
<div class="float-left mr-2 position-relative text-center" style="width: 70px;">{{#widget:PersonPageRoundImage
|filepath={{#if: {{{ imagefile | }}}
|filepath={{{ image | }}}
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320
|size=55px
| {{{ image | }}}
|depth=1
|link={{{ link | }}}
|linkclasses=&nbsp;
}}
}}
</div>
|size=55px
<div class="tile-content">
|depth={{#switch: {{{ image | }}}
<p class="m-0" style="font-weight: 600;">{{{ text | }}}</p>
|https://commons.tsadra.org/images-commons/3/39/Topics.png
</div>
|https://commons.tsadra.org/images-commons/3/3a/Dictionary.png=
|#default=1
}}
|classes=none
}}
</div>
</div>
<div class="d-flex justify-content-between">
<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-up" data-fa-transform="rotate-45"></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