Template:RelatedButton: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="discover-nav-button link-no-border noglossary {{{ wrapperclasses | }}} {{#ifeq: {{{ marginfloat | }}}
<includeonly><div class="tsdwiki-tile-button link-no-border noglossary {{{ wrapperclasses | }}}">
|true
<div class="float-left position-relative" style="width: 55px;">{{#widget:PersonPageRoundImage
|button-left-margin-float
|position-relative
}}">
<div class="float-left position-relative" style="width: 65px;">{{#widget:PersonPageRoundImage
|filepath={{#if: {{{ imagefile | }}}
|filepath={{#if: {{{ imagefile | }}}
| {{filepath:{{#titleparts:{{PAGENAME:{{{ imagefile | }}}}}}}|100}}
| https://commons.tsadra.org/thumb.php?f={{urlencode:{{{ imagefile | }}}|WIKI}}&width=320
| {{{ image | }}}
| {{{ image | }}}
}}
}}
Line 15: Line 11:
|#default=1
|#default=1
}}
}}
|linkclasses=hide
|classes=none
|classes=none
|link={{{ link | }}}
}}
}}
</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
| {{#widget:OverlayLink
|link={{{ link | }}}
|link={{#if: {{{ extLink | }}} | {{{ extLink | }}} | /index.php/{{PAGENAMEE:{{{ link | }}}}} }}
|target={{{ target | _self }}}
|target={{{ target | _self }}}
|title={{{ text | }}}
|title={{{ text | }}}
|classes=none
|classes=none
}}
|
}}
}}
|
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>
}}
</div>

Latest revision as of 07:34, 15 August 2024