Template:Text: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| Line 182: | Line 182: | ||
<div class="row mt-5"> | <div class="row mt-5"> | ||
<div class="col-lg-3 order-lg-last">{{#if: {{#external_value:BuNayRelevance}} | | <div class="col-lg-3 order-lg-last">{{#if: {{#external_value:AuthorRaw}} | ||
| {{#arraymap:{{#external_value:AuthorRaw}} | |||
| ; | |||
| @@@ | |||
|<div class="text-center grey-hoverlay"> | |||
{{#widget:PersonPageRoundImage | |||
|filepath={{#show:@@@|?FirstImageURL#}} | |||
|link=@@@ | |||
|size=150px | |||
|depth=1 | |||
}} | |||
<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="col-4 text-center grey-hoverlay"> | |||
{{#widget:PersonPageRoundImage | |||
|filepath={{#ifexist: @@@ | {{#show:@@@|?FirstImageURL#}} | {{filepath:Placeholder-person.png}} }} | |||
|link=@@@ | |||
|size=150px | |||
|depth=1 | |||
}} | |||
<span style="font-size: 1.3em;">[[{{#if: {{#show:@@@|?MainNamePhon}} | {{#show:@@@|?MainNamePhon}} | @@@ }}]]</span><br><em>translator</em> | |||
</div> | |||
| | |||
}} | |||
| | |||
}} | |||
</div> | |||
<div class="col-lg-9">{{#if: {{#external_value:BuNayRelevance}} | | |||
<div class="mb-4"> | <div class="mb-4"> | ||
<h5>Relevance to Buddha-nature</h5> | <h5>Relevance to Buddha-nature</h5> | ||
{{#external_value:BuNayRelevance}} | {{#external_value:BuNayRelevance}} | ||
</div> | }} | </div> | }} | ||
{{#if: {{{ PdfFile | }}} | | |||
<div class="text-center bnw-text-cover mb-4 download-pdf-overlay" style="position: relative;">{{#widget:OverlayDownloadLink|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}|classes=depth-1 pop-hover}}[[{{{ PdfFile | }}}|1200px|page=1|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}]] | <div class="text-center bnw-text-cover mb-4 download-pdf-overlay" style="position: relative;">{{#widget:OverlayDownloadLink|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}|classes=depth-1 pop-hover}}[[{{{ PdfFile | }}}|1200px|page=1|link={{filepath:{{PAGENAME:{{{ PdfFile | }}}}}}}]] | ||
</div> | }} | </div> | }} | ||