Template:Text: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 260: Line 260:
</div>
</div>
<div class="col-lg-3 right-side-bar order-first order-lg-last p-0 pb-5 sticky-sidemenu" id="sticky-sidemenu">
<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">
<div class="sticky-sidemenu-inner mb-4 p-0" id="sticky-sidemenu-inner">{{#if: {{#external_value:AuthorRaw}}  
<div style="border-bottom: 1px solid rgb(39, 39, 39);">{{#if: {{#external_value:AuthorRaw}}  
| {{#arraymap:{{#external_value:AuthorRaw}}  
| {{#arraymap:{{#external_value:AuthorRaw}}  
| ;  
| ;  
| @@@  
| @@@  
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description">
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description">
{{#widget:PersonPageRoundImage
{{#widget:PersonPageRoundImage
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Teaching_Mudra_2_reduced_opacity.png}} }}
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Teaching_Mudra_2_reduced_opacity.png}} }}
|link=@@@
|link=@@@
|size=200px
|size=200px
|depth=2
|depth=2
}}
}}
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>author</em>
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>author</em>
</div>  
</div>  
|
}}
|  
|  
}}{{#if: {{#external_value:TranslatorRaw}}  
}}
| {{#arraymap:{{#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}} }}
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description">
|link=@@@
{{#widget:PersonPageRoundImage
|size=200px
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Teaching_Mudra_2_reduced_opacity.png}} }}
|depth=2
|link=@@@
}}
|size=200px
|depth=2
}}


<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>translator</em>
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>translator</em>
</div>  
</div>  
|
}}
|  
|  
}}{{#if: {{{ CoverFile | }}} |
}}
|
}}{{#if: {{{ CoverFile | }}} |


<div class="text-center font-italic pt-4">Cover image:</div>
<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="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 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> | }}
</div> | }}
</div>


__TOC__
__TOC__

Revision as of 10:07, 3 October 2018