Template:RelatedButton: Difference between revisions

From Bodhicitta
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<div class="float-left position-relative mr-3" style="width: 50px;">{{#if:{{{ icon | }}}|{{{ icon | }}}|{{#widget:PersonPageRoundImage
<div class="float-left position-relative mr-3" style="width: 50px;">{{#if:{{{ icon | }}}|{{{ icon | }}}|{{#widget:PersonPageRoundImage
|filepath={{#if: {{{ imagefile | }}}
|filepath={{#if: {{{ imagefile | }}}
| {{filepath:{{PAGENAME:{{{ imagefile | }}}}}|320}}
| {{filepath:{{PAGENAME:{{{ imagefile | }}}}}|160}}
| {{#if: {{{ image | }}}
| {{#if: {{{ image | }}}
|{{{ image | }}}
|{{{ image | }}}
|{{#if: {{{ link | }}}
|{{#if: {{{ link | }}}
|{{filepath:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}|320}}
|{{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}}}|160}}
|
|
}}
}}
Line 14: Line 14:
|size=55px
|size=55px
|depth={{#switch: {{{ image | }}}
|depth={{#switch: {{{ image | }}}
|https://commons.tsadra.org/images-commons/3/39/Topics.png
|{{filepath:Topics.png}}
|https://commons.tsadra.org/images-commons/3/3a/Dictionary.png=
|{{filepath:Dictionary.png}}
|#default=1
|#default=1
}}
}}

Latest revision as of 06:58, 8 July 2025