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 | }}}}}| | | {{filepath:{{PAGENAME:{{{ imagefile | }}}}}|160}} | ||
| {{#if: {{{ image | }}} | | {{#if: {{{ image | }}} | ||
|{{{ image | }}} | |{{{ image | }}} | ||
|{{#if: {{{ link | }}} | |{{#if: {{{ link | }}} | ||
|{{filepath:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}| | |{{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}}}|160}} | ||
| | | | ||
}} | }} | ||
| Line 14: | Line 14: | ||
|size=55px | |size=55px | ||
|depth={{#switch: {{{ image | }}} | |depth={{#switch: {{{ image | }}} | ||
| | |{{filepath:Topics.png}} | ||
| | |{{filepath:Dictionary.png}} | ||
|#default=1 | |#default=1 | ||
}} | }} | ||