Difference between revisions of "Template:Text"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 288: Line 288:
 
|label=Read the scripture
 
|label=Read the scripture
 
|pages=Ratnagotravibhāga_Mahāyānottaratantraśāstra; Ratnagotravibhāgavyākhyā; Mahāyānottaratantraśāstraṭippanī; Mahāyānottaratantraśāstropadeśa; When the Clouds Part
 
|pages=Ratnagotravibhāga_Mahāyānottaratantraśāstra; Ratnagotravibhāgavyākhyā; Mahāyānottaratantraśāstraṭippanī; Mahāyānottaratantraśāstropadeśa; When the Clouds Part
}}
+
}}{{#if: {{{ PagesScholarship | }}} |
 +
{{RelatedTilesQuery
 +
|label=Translations & Scholarship
 +
|pages={{{ PagesScholarship | }}}
 +
}} | }}{{#if: {{{ PagesTeachings | }}} |
 +
{{RelatedTilesQuery
 +
|label=Dharma Teachings
 +
|pages={{{ PagesTeachings | }}}
 +
}} | }}
 
}}
 
}}
 
{{MobileSideNav
 
{{MobileSideNav
|content={{#if: {{#external_value:AuthorRaw}}
+
|content={{#if: {{{ CoverFile | }}} |
| {{#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
 
|classes=mx-auto
 
|linkclasses=none
 
}}
 
 
<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
 
|classes=mx-auto
 
|linkclasses=none
 
}}
 
 
 
<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-center font-italic pt-4">Cover image:</div>
Line 338: Line 308:
 
}}
 
}}
 
<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="d-none d-lg-block sticky-sidemenu-inner mb-4 p-0" id="sticky-sidemenu-inner">{{#if: {{#external_value:AuthorRaw}}
+
<div class="d-none d-lg-block sticky-sidemenu-inner mb-4 p-0" id="sticky-sidemenu-inner">
| {{#arraymap:{{#external_value:AuthorRaw}}
+
{{#if: {{{ CoverFile | }}} |
| ;
 
| @@@
 
|<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
 
|classes=mx-auto
 
|linkclasses=none
 
}}
 
 
<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
 
|classes=mx-auto
 
|linkclasses=none
 
}}
 
 
 
<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-center font-italic pt-4">Cover image:</div>
Line 387: Line 320:
  
 
<div class="d-none d-lg-block">
 
<div class="d-none d-lg-block">
{{LevelModule}}{{#if: {{{ PagesScholarship | }}} |
+
{{LevelModule}}
{{RelatedTilesQuery
 
|label=Translations & Scholarship
 
|pages={{{ PagesScholarship | }}}
 
}} | }}{{#if: {{{ PagesTeachings | }}} |
 
{{RelatedTilesQuery
 
|label=Dharma Teachings
 
|pages={{{ PagesTeachings | }}}
 
}} | }}
 
 
{{#widget:ScrollToTop}}
 
{{#widget:ScrollToTop}}
 
</div>
 
</div>

Revision as of 06:27, 10 July 2019