Template:PersonProfile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="row mt-5">
<div class="bnw-panel position-relative rounded grey-hoverlay-solid-bg pop-hover px-4 pb-4">
<div class="col-lg-3 p-0">
==== {{#show:{{{ 1 | }}} |?MainNamePhon }} ====
<div class="bnw-person-image mx-2 mb-4 position-relative">
<div class="row">
{{#widget:RoundFancyboxImage
<div class="col-lg-3">{{#widget:ImageFullwidth
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ 1 | }}} |?FirstImage}} }}}}|300}}
|classes=depth-0
|fullimage={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ 1 | }}} |?FirstImage}} }}}}}}
|src={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{ 1 | }}} |?FirstImage}} }}}}|500}}
|size=250px
|depth=3 m-auto
|linkclasses={{#if: {{#show:{{{ 1 | }}} |?FirstImageURL}}{{#show:{{{ 1 | }}} |?FirstImage}} | | d-none }}
}}
}}
</div>
</div>
<div class="person-image-gallery text-center link-no-border mt-3 mb-4">{{#arraydefine:personImages
<div class="bnw-person-summary col-lg-9">{{#if: {{#show:{{{ 1 | }}} |?bio }}  
|{{#show:{{{ 1 | }}} |?ImagesRaw}}
| {{#show:{{{ 1 | }}} |?bio }}
|;
| {{#if: {{#show:{{{ 1 | }}} |?BnwShortPersonBio }}  
}}{{#arrayslice:personImagesNotFirst
| {{#show:{{{ 1 | }}} |?BnwShortPersonBio }}
|personImages
| {{#if: {{#show:{{{ 1 | }}} |?BiographicalInfo }}  
|1
| {{#show:{{{ 1 | }}} |?BiographicalInfo }}  
|
|  
}}{{#arraymap:{{#arrayprint:personImagesNotFirst|;}}
}}  
|;
}}
|@@@
}}
|{{#widget:PersonGallery
|anchorsrc={{filepath:{{PAGENAME:@@@}}}}
|src={{filepath:{{PAGENAME:@@@}}|50}}
|height=50px!important
|imgclasses=m-1
}}
|
}}
</div>
</div>
</div>
</div>{{#widget:OverlayLink
<div class="bnw-person-summary col-lg-8">{{#if: {{#show:{{{ 1 | }}} |? tolExcerpt }} |  
|link={{{ 1 | }}}
{{#show:{{{ 1 | }}} |? tolExcerpt }}<br>
|classes=border-0
<span class="float-right link-no-border pt-3">... read more at [[File:TOLlogo.png|x45px|link={{#show:{{{ 1 | }}} |? TolLinkRaw }}|class=px-3 py-1 grey-hoverlay|The Treasury of Lives]]</span> | {{#if: {{#show:{{{ 1 | }}} |? BnwShortPersonBio }} | {{#show:{{{ 1 | }}} |? BnwShortPersonBio }} | {{#if: {{#show:{{{ 1 | }}} |? bio }} | {{#show:{{{ 1 | }}} |? bio }} | {{#if: {{#show:{{{ 1 | }}} |? BiographicalInfo }} | {{#show:{{{ 1 | }}} |? BiographicalInfo }} | }} }} }} }}
|target=_blank
</div>
|title={{#show:{{{ 1 | }}} |?MainNamePhon }}
}}
<div class="muted text-right text-80">More on this person <i class="fad fa-angle-right align-middle"></i></div>
</div>
</div>

Latest revision as of 13:26, 11 August 2020

More on this person