Template:RelatedButton: Difference between revisions

From Bodhicitta
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
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:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}|160}}
|
|
}}
}}

Revision as of 16:31, 17 March 2025