Difference between revisions of "Template:Text"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 185: | Line 185: | ||
<div class="sticky-sidemenu" id="sticky-sidemenu"> | <div class="sticky-sidemenu" id="sticky-sidemenu"> | ||
<div class="sticky-sidemenu-inner mb-4 p-0" id="sticky-sidemenu-inner">{{#if: {{#external_value:AuthorRaw}} | <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> | }} | |
− | |||
− | |||
− | + | <h3 class="grey-hoverlay mw-customtoggle-teachings">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">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> |