Template:PersonCall: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 8: Line 8:
}}{{TopSysopLinks|commons|PersonFeaturedContent}}
}}{{TopSysopLinks|commons|PersonFeaturedContent}}


<div class="h2 d-md-flex justify-content-between align-items-end">
 
<div class="mr-2">{{#if: {{GetPersonValue|MainNameDev}}{{GetPersonValue|MainNameTib}} |
 
<div class="mb-2 ">{{#if: {{GetPersonValue|MainNameDev}} | {{GetPersonValue|MainNameDev}} | {{GetPersonValue|MainNameTib}} }}
 
</div> | }}
{{#ask:[[{{SUBPAGENAME}}]]
<div>{{#if:{{GetPersonValue|MainNamePhon}}
|?BdrcLink |?Bio |?BiographicalInfo |?BioTib={{{ 5 }}} |?BnwShortPersonBio |?Bornin |?DatesNotes |?Description |?FirstImage={{{ 10 }}} |?HarLinkRaw |?HasDnzPage |?HasRtzPage |?ImagesRaw |?MainNameChi={{{ 15 }}} |?MainNameDev |?MainNameJap |?MainNameKor |?MainNamePhon |?MainNameTib={{{ 20 }}} |?TibDateAnimal |?TibDateDay |?TibDateDeathAnimal |?TibDateDeathDay |?TibDateDeathElement={{{ 25 }}} |?TibDateDeathGender |?TibDateDeathMonth |?TibDateDeathRabjung |?TibDateElement |?TibDateGender={{{ 30 }}} |?TibDateMonth |?TibDateRabjung |?TolExcerpt |?TolLinkRaw |?Yearbirth={{{ 35 }}} |?Yeardeath
| {{GetPersonValue|MainNamePhon}}
|link=none
| {{#if: {{GetPersonValue|MainNameSkt}}
|source=commons
| {{GetPersonValue|MainNameSkt}}
|format=template
| {{#if: {{GetPersonValue|MainNameWylie}}
|template=PersonRemote
| {{GetPersonValue|MainNameWylie}}
}}{{SetRemoteProperties
| {{#if: {{GetPersonValue|MainNameJap}}
|props=FirstImage;HarLinkRaw;HasDnzPage;HasRtzPage;MainNameChi;MainNameDev;MainNameJap;MainNameKor;MainNamePhon;MainNameTib;TolLinkRaw;BdrcLink
| {{GetPersonValue|MainNameJap}}
|sep=;
| {{#if: {{GetPersonValue|MainNameKor}}
|source=commons
| {{GetPersonValue|MainNameKor}}
}}{{SetRemoteProperties
| {{#if: {{GetPersonValue|Namelast}}
|props=Bio;BiographicalInfo;BioTib;BnwShortPersonBio;Bornin;DatesNotes;Description;ImagesRaw;TibDateAnimal;TibDateDay;TibDateDeathAnimal;TibDateDeathDay;TibDateDeathElement;TibDateDeathGender;TibDateDeathMonth;TibDateDeathRabjung;TibDateElement;TibDateGender;TibDateMonth;TibDateRabjung;TolExcerpt;Yearbirth;Yeardeath
| {{GetPersonValue|Namefirst}} {{GetPersonValue|Namelast}}
|source=commons
|
}}
}}
 
}}
 
}}
 
}}
}}
}}{{#ifeq: {{GetPersonValue|Subclass}}
| Modern
| {{#if: {{GetPersonValue|Yeardeath}}
| <small class="d-inline-block grey-color pl-3">({{#time:Y|{{GetPersonValue|Yearbirth}}}} - {{#time:Y|{{GetPersonValue|Yeardeath}}}})</small>
|
}}
| {{#if: {{GetPersonValue|Yearbirth}}{{GetPersonValue|Yeardeath}}{{GetPersonValue|Bornin}}{{GetPersonValue|TibDateAnimal}}{{GetPersonValue|DatesNotes}}
| <small class="d-inline-block grey-color pl-3">{{#if: {{GetPersonValue|Yearbirth}}
|{{#if: {{GetPersonValue|Yeardeath}}  
|({{GetPersonValue|Yearbirth}} - {{GetPersonValue|Yeardeath}})
|(b. {{GetPersonValue|Yearbirth}} - )
}}
|{{#if: {{GetPersonValue|Yeardeath}}  
|( - d. {{GetPersonValue|Yeardeath}})
|
}}
}}{{#if: {{GetPersonValue|Bornin}}{{GetPersonValue|TibDateAnimal}}{{GetPersonValue|DatesNotes}}
|&nbsp;{{Tooltip
|text=<i class="fad fa-info-circle" style="font-size: .5em;"></i>
|content={{#if: {{GetPersonValue|Bornin}}
| <div class="px-3 py-2">'''Born in:''' <hr class="mt-1 mb-2"> {{GetPersonValue|Bornin}}</div>
|
}}{{#if:{{GetPersonValue|TibDateAnimal}}
| <div class="px-3 py-2">'''Tibetan date of birth:''' <hr class="mt-1 mb-2"> {{#if: {{GetPersonValue|TibDateDay}} | {{OrdNum|{{GetPersonValue|TibDateDay}}}} day ,| }}{{#if: {{GetPersonValue|TibDateMonth}} | {{OrdNum|{{GetPersonValue|TibDateMonth}}}} month ,|}} Year of the {{GetPersonValue|TibDateGender}} {{GetPersonValue|TibDateElement}} {{GetPersonValue|TibDateAnimal}}, {{OrdNum|{{GetPersonValue|TibDateRabjung}}}} sexagenary cycle.</div>
|
}}{{#if:{{GetPersonValue|TibDateDeathAnimal}}
| <div class="px-3 py-2">'''Tibetan date of passing:''' <hr class="mt-1 mb-2"> {{OrdNum|{{GetPersonValue|TibDateDeathDay}}}} day, {{OrdNum|{{GetPersonValue|TibDateDeathMonth}}}} month, Year of the {{GetPersonValue|TibDateDeathGender}} {{GetPersonValue|TibDateDeathElement}} {{GetPersonValue|TibDateDeathAnimal}}, {{OrdNum|{{GetPersonValue|TibDateDeathRabjung}}}} sexagenary cycle.</div>
|
}}{{#if: {{GetPersonValue|DatesNotes}}
| <div class="px-3 py-2">'''Notes on dates:'''<hr class="mt-1 mb-2">{{GetPersonValue|DatesNotes}}</div>
|
}}
}}
|
}}</small>
|
}}
}}
</div>
<div>{{#arraymap: {{#if: {{GetPersonValue|MainNameDev}}
| {{GetPersonValue|MainNameTib}}  
|  
}}; {{GetPersonValue|MainNameChi}}; {{GetPersonValue|MainNameJap}}; {{GetPersonValue|MainNameKor}}
|;
|@@@
|@@@
|&nbsp;·&nbsp;
}}
</div>
</div>
<div class="link-no-border zoom-90">{{#if: {{GetPersonValue|TolExcerpt}}
|
|{{#if: {{GetPersonValue|TolLinkRaw}}
| [[File:TOLlogo.png|x35px|link={{GetPersonValue|TolLinkRaw}}|class=mr-1|The Treasury of Lives]]
|
}}
}}{{#ifeq: {{GetPersonValue|HasRtzPage}} | true
| [[File:RtzLinkLogo.png|x35px|link=http://rtz.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-3 border|Rinchen Terdzö Chenmo]]
|
}}{{#ifeq: {{GetPersonValue|HasDnzPage}} | true
| [[File:DnzLinkLogo.png|x35px|link=http://dnz.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-3 border|Damngak Rinpoché Dzö]]
|
}}{{#if: {{GetPersonValue|BdrcLink}}
| [[File:BdrcLogo.png|x30px|link={{GetPersonValue|BdrcLink}}|class=mr-3|Buddhist Digital Resource Center]]
|
}}{{#if: {{GetPersonValue|HarLinkRaw}}
| [[File:Har logo blocks@2x.png|x30px|link={{GetPersonValue|HarLinkRaw}}|class=mr-2|Himalayan Art Resources]]
|
}}
</div>
</div>
<div class="row mt-5">
<div class="col-lg-4 p-0">
<div class="bnw-person-image mx-2 mb-5 position-relative">
{{#widget:RoundFancyboxImage
|filepath={{#if: {{GetPersonValue|FirstImage}}
| {{#ifeq: {{GetPersonValue|FirstImage}}  
| File:Noimagefound.jpg
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
| {{filepath:{{#titleparts:{{PAGENAME:{{GetPersonValue|FirstImage}}}}}}|300}}
}}
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
}}
|fullimage={{#if: {{GetPersonValue|FirstImage}}
| {{#ifeq: {{GetPersonValue|FirstImage}}
| File:Noimagefound.jpg
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
| {{filepath:{{#titleparts:{{PAGENAME:{{GetPersonValue|FirstImage}}}}}}}}
}}
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
}}
|size=250px
|depth=3 m-auto
|linkclasses={{#ifeq: {{GetPersonValue|FirstImage}} | File:Noimagefound.jpg | d-none | }}
}}
</div>
<div class="person-image-gallery text-center link-no-border mt-3 mb-4">{{#arraydefine:personImages
|{{GetPersonValue|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="bnw-person-summary col-lg-8">{{#if: {{GetPersonValue|TolExcerpt}}
|{{GetPersonValue|TolExcerpt}}<br>
<span class="float-right link-no-border pt-3">... read more at [[File:TOLlogo.png|x45px|link={{GetPersonValue|TolLinkRaw}}|class=px-3 py-1 grey-hoverlay|The Treasury of Lives]]</span>
| {{#if: {{GetPersonValue|BnwShortPersonBio}}
| {{GetPersonValue|BnwShortPersonBio}}
| {{#if: {{#urldecode:{{GetPersonValue|EncodedBio}}}}
| {{#urldecode:{{GetPersonValue|EncodedBio}}}}
| {{#if: {{GetPersonValue|BiographicalInfo}}
| {{GetPersonValue|BiographicalInfo}}
|
}}
}}
}}
}}{{#if: {{GetPersonValue|BioTib}}
| <h3>རྣམ་ཐར་སྙིང་བསྡུས།</h3>
<div class="text-130">
{{GetPersonValue|BioTib}}
</div>
|
}}
</div>
</div>


{{PageTileQuery
{{PageTileQuery

Revision as of 15:33, 14 January 2025