Difference between revisions of "Template:Text"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 159: | Line 159: | ||
<div class="row mt-5 mb-5"> | <div class="row mt-5 mb-5"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div class="col-lg-9">{{#if: {{{ JumboSummary | }}}{{#external_value:description}}{{#external_value:BuNayKarlDescription}} | | <div class="col-lg-9">{{#if: {{{ JumboSummary | }}}{{#external_value:description}}{{#external_value:BuNayKarlDescription}} | | ||
Line 355: | Line 257: | ||
|} | |} | ||
+ | </div> | ||
+ | <div class="col-lg-3 right-side-bar order-first order-lg-last p-0"> | ||
+ | <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 m-2 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 | }}}|500px|page=1|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}]] | ||
+ | </div> | }} | ||
+ | |||
+ | <hr style="margin: 2em 0;"> | ||
+ | __TOC__ | ||
+ | |||
+ | <h3 class="grey-hoverlay mw-customtoggle-teachings" style="border-radius: 0px;">Dharma Teachings</h3> | ||
+ | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-teachings"> | ||
+ | {{#arraymap: {{{ PagesTeachings | }}} | ||
+ | |; | ||
+ | |@@@ | ||
+ | |{{#ask:[[@@@]] | ||
+ | |?AuthorRaw | ||
+ | |?citation | ||
+ | |?Author | ||
+ | |?AuthorPage | ||
+ | |?ArticleSummary | ||
+ | |?description | ||
+ | |?performer | ||
+ | |?MediaSeries | ||
+ | |?Frontcoverimg | ||
+ | |link=none | ||
+ | |format=template | ||
+ | |template=SourceTextPageTile | ||
+ | }} | ||
+ | | | ||
+ | }} | ||
+ | </div> | ||
+ | |||
+ | <h3 class="grey-hoverlay mw-customtoggle-scholarship" style="border-radius: 0px;">Translations & Scholarship</h3> | ||
+ | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-scholarship">{{#if: {{#external_value:EightyFour}} | | ||
+ | |||
+ | <div class="bnw-page-tile text-center rounded depth-1 pop-hover mt-1 mb-4 position-relative link-no-border" style="min-height: 0;">{{#widget:OverlayLink|link={{#external_value:EightyFour}}}} | ||
+ | [[File:84000.png|120px|link={{#external_value:EightyFour}}|84000 Project]] | ||
+ | </div> | }} | ||
+ | |||
+ | {{#arraymap:{{{ PagesScholarship | }}} | ||
+ | |; | ||
+ | |@@@ | ||
+ | |{{#ask:[[@@@]] | ||
+ | |?AuthorRaw | ||
+ | |?citation | ||
+ | |?Author | ||
+ | |?AuthorPage | ||
+ | |?ArticleSummary | ||
+ | |?description | ||
+ | |?performer | ||
+ | |?MediaSeries | ||
+ | |?Frontcoverimg | ||
+ | |link=none | ||
+ | |format=template | ||
+ | |template=SourceTextPageTile | ||
+ | }} | ||
+ | | | ||
+ | }} | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
</div> | </div> | ||
</div>{{#if: {{#external_value:AdarshaLink}} | | </div>{{#if: {{#external_value:AdarshaLink}} | |