Template:RelatedButton: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| Line 2: | Line 2: | ||
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage | <div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage | ||
|filepath={{#if: {{{ imagefile | }}} | |filepath={{#if: {{{ imagefile | }}} | ||
| | | {{filepath:{{#titleparts:{{PAGENAME:{{{ imagefile | }}}}}}}|320}} | ||
| {{{ image | }}} | | {{{ image | }}} | ||
}} | }} | ||
|size=55px | |size=55px | ||
|depth={{#switch: {{{ | |depth={{#switch: {{{ imagefile | }}} | ||
| | |File:Topics.png | ||
| | |File:Dictionary.png= | ||
|#default=1 | |#default=1 | ||
}} | }} | ||