Template:RelatedButton: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage
|filepath={{#if: {{{ imagefile | }}}
|filepath={{#if: {{{ imagefile | }}}
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320
| {{filepath:{{#titleparts:{{PAGENAME:{{{ imagefile | }}}}}}}|100}}
| {{{ image | }}}
| {{{ image | }}}
}}
}}
|size=55px
|size=55px
|depth={{#switch: {{{ image | }}}
|depth={{#switch: {{{ imagefile | }}}
|https://commons.tsadra.org/images-commons/3/39/Topics.png
|File:Topics.png
|https://commons.tsadra.org/images-commons/3/3a/Dictionary.png=
|File:Dictionary.png=
|#default=1
|#default=1
}}
}}
Line 20: Line 20:
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}}
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}}
| {{#widget:OverlayLink
| {{#widget:OverlayLink
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | /index.php/{{PAGENAMEE:{{{ link | }}}}} }}
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | /index.php/{{{ link | }}} }}
|target={{{ target | _self }}}
|target={{{ target | _self }}}
|title={{{ text | }}}
|title={{{ text | }}}

Latest revision as of 07:22, 8 July 2025