Template:RelatedButton: Difference between revisions
From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (3 intermediate revisions by the same user not shown) | |||
| 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 | }}} | ||
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width= | | {{#ifexist: File:{{{ imagefile | }}} | ||
|{{filepath:{{{ imagefile | }}}|220}} | |||
|https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=220 | |||
}} | |||
| {{{ image | }}} | | {{{ image | }}} | ||
}} | }} | ||
| Line 11: | Line 14: | ||
|#default=1 | |#default=1 | ||
}} | }} | ||
|classes=none | |classes=none | ||
}} | }} | ||
</div> | </div> | ||
| Line 22: | Line 23: | ||
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}} | <div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}} | ||
| {{#widget:OverlayLink | | {{#widget:OverlayLink | ||
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | | |link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | {{PAGENAMEE:{{{ link | }}}}} }} | ||
|target={{{ target | _self }}} | |target={{{ target | _self }}} | ||
|title={{{ text | }}} | |title={{{ text | }}} | ||