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 | }}}|320}}
|{{filepath:{{{ imagefile | }}}|220}}
|https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320
|https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=220
}}
}}
| {{{ image | }}}
| {{{ image | }}}
Line 14: Line 14:
|#default=1
|#default=1
}}
}}
|linkclasses=hide
|classes=none
|classes=none
|link={{{ link | }}}
}}
}}
</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 | }}} | /index.php/{{PAGENAMEE:{{{ link | }}}}} }}
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | {{PAGENAMEE:{{{ link | }}}}} }}
|target={{{ target | _self }}}
|target={{{ target | _self }}}
|title={{{ text | }}}
|title={{{ text | }}}

Latest revision as of 11:22, 6 June 2023