Template:RelatedButton: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) Tags: Manual revert Reverted |
((by SublimeText.Mediawiker)) |
||
| (6 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 | }}}}}| | | {{filepath:{{PAGENAME:{{{ imagefile | }}}}}|160}} | ||
| {{{ image | }}} | | {{#if: {{{ image | }}} | ||
|{{{ image | }}} | |||
|{{#if: {{{ link | }}} | |||
|{{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}}}|160}} | |||
| | |||
}} | |||
}} | |||
}} | }} | ||
|size=55px | |size=55px | ||
|depth={{#switch: {{{ image | }}} | |depth={{#switch: {{{ image | }}} | ||
| | |{{filepath:Topics.png}} | ||
| | |{{filepath:Dictionary.png}} | ||
|#default=1 | |#default=1 | ||
}} | }} | ||