Difference between revisions of "Template:Text"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 261: Line 261:
 
</div>
 
</div>
 
{{MobileSideNav
 
{{MobileSideNav
|content=
+
|content={{#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}}
 +
| {{#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 | }}} |
 +
 
 +
<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="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">
Line 279: Line 321:
 
</div>  
 
</div>  
 
|  
 
|  
}}  
+
}}
 
|  
 
|  
 
}}{{#if: {{#external_value:TranslatorRaw}}  
 
}}{{#if: {{#external_value:TranslatorRaw}}  

Revision as of 11:03, 3 May 2019