Difference between revisions of "Template:Text"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 161: | Line 161: | ||
</div></noglossary> | </div></noglossary> | ||
− | <div class="row mt-5 mb-5"> | + | <div class="row mt-5 mb-5 sticky-container"> |
<div class="col-lg-9 mt-5 mt-lg-0">{{#if: {{{ JumboSummary | }}}{{#external_value:description}} | | <div class="col-lg-9 mt-5 mt-lg-0">{{#if: {{{ JumboSummary | }}}{{#external_value:description}} | | ||
Line 258: | Line 258: | ||
</div> | </div> | ||
− | <div class="col-lg-3 right-side-bar order-first order-lg-last p-0 pb-5 | + | <div class="col-lg-3 right-side-bar order-first order-lg-last p-0 pb-5 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:Teaching_Mudra_2_reduced_opacity.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}} | + | }} |
− | + | | | |
− | + | }}{{#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:Teaching_Mudra_2_reduced_opacity.png}} }} | |
− | + | |link=@@@ | |
− | + | |size=200px | |
+ | |depth=2 | ||
+ | }} | ||
− | + | <span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>translator</em> | |
− | + | </div> | |
− | |||
− | |||
| | | | ||
− | }}{{#if: {{{ CoverFile | }}} | | + | }} |
+ | | | ||
+ | }}{{#if: {{{ CoverFile | }}} | | ||
− | + | <div class="text-center font-italic pt-4">Cover image:</div> | |
− | + | <div class="text-cover-container px-5 pb-4">[[{{{ CoverFile | }}}|class=text-cover pop-hover]]</div> | }}{{#if: {{{ PdfFile | }}} | | |
− | + | <div class="bnw-text-cover m-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 | }}}|500px|page=1|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}]] | |
− | + | </div> | }} | |
− | + | __TOC__ | |
− | + | <div class="d-none d-lg-block"> | |
− | + | {{LevelModule}}{{#if: {{{ PagesScholarship | }}} | | |
− | + | {{RelatedTilesQuery | |
− | + | |label=Translations & Scholarship | |
− | + | |pages={{{ PagesScholarship | }}} | |
− | + | }} | }}{{#if: {{{ PagesTeachings | }}} | | |
− | + | {{RelatedTilesQuery | |
− | + | |label=Dharma Teachings | |
− | + | |pages={{{ PagesTeachings | }}} | |
− | + | }} | }} | |
− | + | {{#widget:ScrollToTop}} | |
− | |||
</div> | </div> | ||
</div> | </div> |