Template:RelatedButton: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="discover-nav-button position-{{{ position | relative }}} link-no-border noglossary {{{ 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 | }}}
|target={{{ target | _self }}}
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320
|title={{{ text | }}}
| {{{ image | }}}
|classes=none
}}
}}
|
}}
<div class="float-left position-relative" style="width: 65px;">{{#widget:PersonPageRoundImage
|filepath={{{ image | }}}
|size=55px
|size=55px
|depth=1
|depth={{#switch: {{{ image | }}}
|linkclasses=hide
|https://commons.tsadra.org/images-commons/3/39/Topics.png
|https://commons.tsadra.org/images-commons/3/3a/Dictionary.png=
|#default=1
}}
|classes=none
|classes=none
}}
}}
</div>
</div>
<div class="tile-content">
<div class="tile-content">
<p class="clipped-3-lines m-0">{{{ text | }}}</p>
<p class="clipped-3-lines m-0 text-break {{{ textclasses | }}}">{{{ text | }}}</p>
</div>
</div>
<div class="bottom-label" style="left: 9px;">{{{ label | }}}</div>
<div class="bottom-label" style="left: 9px;">{{{ label | }}}</div>
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}}
</div>
| {{#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