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 | }}}}}| | | {{filepath:{{PAGENAME:{{{ imagefile | }}}}}|160}} | ||
| {{#if: {{{ image | }}} | | {{#if: {{{ image | }}} | ||
|{{{ image | }}} | |{{{ image | }}} | ||
|{{#if: {{{ link | }}} | |{{#if: {{{ link | }}} | ||
|{{filepath:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}| | |{{filepath:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}|160}} | ||
| | | | ||
}} | }} | ||