Template:RelatedButton: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class=" | <includeonly><div class="tsdwiki-tile-button link-no-border noglossary {{{ wrapperclasses | }}}"> | ||
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage | |||
|filepath={{#if: {{{ imagefile | }}} | |||
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320 | |||
}}"> | | {{{ image | }}} | ||
<div class="float-left position-relative" style="width: | }} | ||
|filepath={{{ image | }}} | |||
|size=55px | |size=55px | ||
|depth={{#switch: {{{ image | }}} | |depth={{#switch: {{{ image | }}} | ||
Line 12: | Line 11: | ||
|#default=1 | |#default=1 | ||
}} | }} | ||
|classes=none | |classes=none | ||
}} | }} | ||
</div> | </div> | ||
<div class="tile-content"> | <div class="tile-content"> | ||
<p class="clipped-3-lines m-0 {{{ textclasses | }}}">{{{ text | }}}</p> | <p class="clipped-3-lines m-0 text-break {{{ textclasses | }}}">{{{ text | }}}</p> | ||
</div> | </div> | ||
<div class="bottom-label" style="left: 9px;">{{{ label | }}}</div> | <div class="bottom-label" style="left: 9px;">{{{ label | }}}</div> | ||
<div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}} | <div class="bottom-label" style="right: 9px;">{{{ label-right | }}}</div>{{#if: {{{ link | }}}{{{ extLink | }}} | ||
| {{#widget:OverlayLink | |||
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | /index.php/{{PAGENAMEE:{{{ link | }}}}} }} | |||
|target={{{ target | _self }}} | |||
|title={{{ text | }}} | |||
|classes=none | |||
}} | |||
| | |||
}} | }} | ||
</div></includeonly><noinclude>{{TemplateTag}}</noinclude> | |||
}} | |||
</ |