Template:PersonCall: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 84: Line 84:
<div style="display: flex; align-items: start; flex-flow: row wrap;">{{#arraymap:{{#external_value:ImagesRaw}}|;|@@@|[[@@@|thumb|x200px]]|&nbsp;}}</div>
<div style="display: flex; align-items: start; flex-flow: row wrap;">{{#arraymap:{{#external_value:ImagesRaw}}|;|@@@|[[@@@|thumb|x200px]]|&nbsp;}}</div>


<div class="row mt-4">
{{#if: {{{ description | }}}
<div class="col-lg-4 p-0">
| {{{ description | }}}
<div class="bnw-person-image mx-2 mb-5 position-relative">
| {{#if: {{#external_value: tolExcerpt }}  
{{#widget:RoundFancyboxImage
| {{#external_value: tolExcerpt }}<br>
|filepath={{#if: {{#external_value:FirstImage}}
<span class="float-right link-no-border pt-3">... read more at [[File:TOLlogo.png|x45px|link={{#external_value: TolLinkRaw }}|class=px-3 py-1 grey-hoverlay|The Treasury of Lives]]</span>  
| {{#ifeq: {{#external_value:FirstImage}}
| {{#if: {{#external_value: BnwShortPersonBio }} | {{#external_value: BnwShortPersonBio }} | {{#if: {{#external_value: bio }} | {{#external_value: bio }} | {{#if: {{#external_value: BiographicalInfo }} | {{#external_value: BiographicalInfo }} | }} }} }}  
| File:Noimagefound.jpg
}}
| https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
}}{{#set:
| {{filepath:{{#titleparts:{{PAGENAME:{{#external_value:FirstImage}}}}}}|300}}
}}
| https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
}}
|fullimage={{#if: {{#external_value:FirstImage}}
| {{#ifeq: {{#external_value:FirstImage}}
| File:Noimagefound.jpg
| https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
| {{filepath:{{#titleparts:{{PAGENAME:{{#external_value:FirstImage}}}}}}}}
}}
| https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
}}
|size=250px
|depth=3 m-auto
|linkclasses={{#ifeq: {{#external_value:FirstImage}} | File:Noimagefound.jpg | d-none | }}
}}
</div>
<div class="text-center link-no-border mt-3 mb-4">{{#arraydefine:personImages
|{{#external_value:ImagesRaw}}
|;
}}{{#arrayslice:personImagesNotFirst
|personImages
|1
|
}}{{#arraymap:{{#arrayprint:personImagesNotFirst|;}}
|;
|@@@
|{{#widget:PersonGallery
|anchorsrc={{filepath:{{PAGENAME:@@@}}}}
|src={{filepath:{{PAGENAME:@@@}}|50}}
|height=50px!important
|imgclasses=m-1
}}
|
}}
</div>
</div>
<div class="col-lg-8 person-page-text">{{#if: {{{ description | }}}
| {{{ description | }}}
| {{#if: {{#external_value: tolExcerpt }} |  
{{#external_value: tolExcerpt }}<br>
<span class="float-right link-no-border pt-3">... read more at [[File:TOLlogo.png|x45px|link={{#external_value: TolLinkRaw }}|class=px-3 py-1 grey-hoverlay|The Treasury of Lives]]</span> | {{#if: {{#external_value: BnwShortPersonBio }} | {{#external_value: BnwShortPersonBio }} | {{#if: {{#external_value: bio }} | {{#external_value: bio }} | {{#if: {{#external_value: BiographicalInfo }} | {{#external_value: BiographicalInfo }} | }} }} }} }}
}}
</div>
</div>{{#set:
|addresslocation={{#external_value:addresslocation}}
|addresslocation={{#external_value:addresslocation}}
|affiliationRaw={{#external_value:affiliationRaw}}
|affiliationRaw={{#external_value:affiliationRaw}}

Revision as of 12:40, 24 August 2021