Template:RelatedButton: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) Tag: Manual revert |
((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}} | ||
| {{#if: {{{ image | }}} | |||
|{{{ image | }}} | |||
|{{#if: {{{ link | }}} | |||
|{{filepath:{{PAGENAME:{{#show: {{{ link | }}}|?FirstImage#}}}}|320}} | |||
| | |||
}} | |||
}} | }} | ||
}} | }} | ||
|size=55px | |size=55px | ||