Template:Text: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| Line 183: | Line 183: | ||
<div class="row mt-5"> | <div class="row mt-5"> | ||
<div class=" right-side-bar col-lg-4 order-lg-last"> | <div class=" right-side-bar col-lg-4 order-lg-last"> | ||
<div class="sticky-sidemenu" id="sticky-sidemenu">{{#if: {{#external_value:AuthorRaw}} | <div class="sticky-sidemenu" id="sticky-sidemenu"> | ||
<div class="sticky-sidemenu-inner mb-4 p-0" id="sticky-sidemenu-inner">{{#if: {{#external_value:AuthorRaw}} | |||
| {{#arraymap:{{#external_value:AuthorRaw}} | |||
| ; | |||
| @@@ | |||
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description"> | |||
{{#widget:PersonPageRoundImage | |||
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }} | |||
|link=@@@ | |||
|size=200px | |||
|depth=2 | |||
}} | |||
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>author</em> | |||
</div> | |||
| | |||
}} | |||
| | | | ||
}}{{#if: {{#external_value:TranslatorRaw}} | |||
| {{#arraymap:{{#external_value:TranslatorRaw}} | |||
| ; | |||
| @@@ | |||
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description"> | |||
{{#widget:PersonPageRoundImage | |||
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }} | |||
|link=@@@ | |||
|size=200px | |||
|depth=2 | |||
}} | |||
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>translator</em> | |||
</div> | |||
| | |||
}} | |||
| | | | ||
}}{{#if: {{{ PdfFile | }}} | | |||
<div class="bnw-text-cover mt-4 mb-4 download-pdf-overlay" style="position: relative;">{{#widget:OverlayDownloadLink|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}|classes=d-flex align-items-center justify-content-center depth-1 pop-hover}}[[{{{ PdfFile | }}}|1200px|page=1|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}]] | |||
</div> | }} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||