Template:RelatedButton: Difference between revisions
From Bodhicitta
((by SublimeText.Mediawiker)) Tag: Manual revert |
((by SublimeText.Mediawiker)) |
||
| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="tsdwiki-tile-button link-no-border noglossary {{{ wrapperclasses | }}}"> | <includeonly><div class="{{{ container-classes | }}}"> | ||
<div class="tsdwiki-tile-button link-no-border noglossary {{{ wrapperclasses | }}}"> | |||
<div class="float-left position-relative mr-3" style="width: 50px;">{{#if:{{{ icon | }}}|{{{ icon | }}}|{{#widget:PersonPageRoundImage | |||
|filepath={{#if: {{{ imagefile | }}} | |||
| {{{ image | }}} | | {{filepath:{{PAGENAME:{{{ imagefile | }}}}}|160}} | ||
| {{#if: {{{ image | }}} | |||
|{{{ image | }}} | |||
|{{#if: {{{ link | }}} | |||
|{{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ link | }}}|?FrontCoverImg#}}}}}}|160}} | |||
| | |||
}} | |||
}} | |||
}} | |||
|size=55px | |||
|depth={{#switch: {{{ image | }}} | |||
|{{filepath:Topics.png}} | |||
|{{filepath:Dictionary.png}} | |||
|#default=1 | |||
}} | |||
|classes=none | |||
}} | }} | ||
| | }} | ||
</div> | |||
| | <div class="tile-content"> | ||
| | <p class="clipped-3-lines m-0 text-break {{{ textclasses | }}}">{{{ text | }}}</p> | ||
| | </div> | ||
<div class="bottom-label" style="left: 9px;">{{{ label | }}}</div> | |||
<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 | |||
|linkId={{{ linkId | }}} | |||
}} | }} | ||
| | | | ||
}} | }} | ||
</div> | </div> | ||
</div></includeonly><noinclude>{{TemplateTag}}</noinclude> | </div></includeonly><noinclude>{{TemplateTag}}</noinclude> | ||