Difference between revisions of "Template:Text"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 183: Line 183:
 
<div class="row mt-5">
 
<div class="row mt-5">
 
<div class=" right-side-bar col-lg-4 order-lg-last">
 
<div class=" right-side-bar col-lg-4 order-lg-last">
<div class="sticky-sidemenu" id="sticky-sidemenu">{{#if: {{#external_value:AuthorRaw}}  
+
<div class="sticky-sidemenu" id="sticky-sidemenu">
| {{#arraymap:{{#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
+
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description">
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }}
+
{{#widget:PersonPageRoundImage
|link=@@@
+
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }}
|size=200px
+
|link=@@@
|depth=2
+
|size=200px
}}
+
|depth=2
+
}}
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>author</em>
+
</div>  
+
<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}}  
}}{{#if: {{#external_value:TranslatorRaw}}  
+
| ;  
| {{#arraymap:{{#external_value:TranslatorRaw}}  
+
| @@@  
| ;  
+
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description">
| @@@  
+
{{#widget:PersonPageRoundImage
|<div class="text-center grey-hoverlay position-relative link-no-border bnw-author-description">
+
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }}
{{#widget:PersonPageRoundImage
+
|link=@@@
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }}
+
|size=200px
|link=@@@
+
|depth=2
|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: {{{ 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 | }}}}}}}]]
}}{{#if: {{{ PdfFile | }}} |
+
</div> | }}
<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>
</div> | }}
 
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 10:34, 9 August 2018