Template:RelatedButton: Difference between revisions
From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
|filepath={{#if: {{{ imagefile | }}} | |filepath={{#if: {{{ imagefile | }}} | ||
| {{#ifexist: File:{{{ imagefile | }}} | | {{#ifexist: File:{{{ imagefile | }}} | ||
|{{filepath:{{{ imagefile | }}}| | |{{filepath:{{{ imagefile | }}}|220}} | ||
|https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width= | |https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=220 | ||
}} | }} | ||
| {{{ image | }}} | | {{{ image | }}} | ||
| Line 14: | Line 14: | ||
|#default=1 | |#default=1 | ||
}} | }} | ||
|classes=none | |classes=none | ||
}} | }} | ||
</div> | </div> | ||
| Line 25: | 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 | }}} | ||