Template:PersonCall: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#get_web_data:
<includeonly>{{#get_web_data:
url=https://commons.tsadra.org/api.php?action=ask&query=%5B%5B{{SUBPAGENAMEE}}%5D%5D%7C%3Faddresslocation%7C%3FaffiliationRaw%7C%3FaffiliationsecondaryRaw%7C%3FAltNamesOtherRaw%7C%3FAltNamesTibRaw%7C%3FAltNamesWylieRaw%7C%3Farchivistnotes%7C%3FassociatedwebsiteRaw%7C%3FBdrcLink%7C%3Fbio%7C%3FBiographicalInfo%7C%3Fbornin%7C%3Fclassification=People%7C%3Fcurrentworks%7C%3Feducation%7C%3Femail%7C%3FEmanationOfRaw%7C%3FHarLinkRaw%7C%3FHasBnwPage%7C%3FHasDnzPage%7C%3FHasDrlPage%7C%3FHasLibPage%7C%3FHasRtzPage%7C%3Fimages%7C%3FIncarnationsRaw%7C%3FlanguageprimaryRaw%7C%3FlanguagetargetRaw%7C%3FlanguagetranslationRaw%7C%3FMainNamePhon%7C%3FMainNameSkt%7C%3FMainNameTib%7C%3FMainNameWylie%7C%3FMainNameJap%7C%3FMainNameJapTranslit%7C%3FMainNameKor%7C%3FMainNameKorTranslit%7C%3FnamealtRaw%7C%3Fnamefirst%7C%3Fnamelast%7C%3Fnamelastpre%7C%3Fnamemiddle%7C%3Fnameprefix%7C%3Fnamesuffix%7C%3Fnametitlepre%7C%3Fnametitlesuf%7C%3FPersonalAffiliationRaw%7C%3FPersonType%7C%3Fphduniversity%7C%3Fphone%7C%3FreligiousaffiliationRaw%7C%3FstudentofRaw%7C%3FteacherofRaw%7C%3FTertonNameTibRaw%7C%3FTertonNameWylieRaw%7C%3FTibDateAnimal%7C%3FTibDateElement%7C%3FTibDateGender%7C%3FTibDateRabjung%7C%3FTolLinkRaw%7C%3Fyearbirth%7C%3Fyeardeath%7C%3Fcv%7C%3Fpublications%7C%3FFirstImageURL%7C%3FtolExcerpt%7C%3FBnwShortPersonBio%7C%3Fsubclass%7C%3FDatesNotes%7C%3FTibDateDay%7C%3FTibDateMonth%7C%3FTibDateDeathDay%7C%3FTibDateDeathMonth%7C%3FTibDateDeathGender%7C%3FTibDateDeathElement%7C%3FTibDateDeathAnimal%7C%3FTibDateDeathRabjung%7C%3FClassicalProfAff%7C%3FClassicalOtherProfAff%7C%3FNotesOnNames%7C%3FMainNameDev%7C%3FMainNameChi%7C%3FMainNamePin%7C%3FBdrcPnum%7C%3FImagesRaw%7C%3FFirstImage%7C%3FSortName&format=json
url=https://commons.tsadra.org/api.php?action=ask&query=%5B%5B{{SUBPAGENAMEE}}%5D%5D%7C%3Faddresslocation%7C%3FaffiliationRaw%7C%3FaffiliationsecondaryRaw%7C%3FAltNamesOtherRaw%7C%3FAltNamesTibRaw%7C%3FAltNamesWylieRaw%7C%3Farchivistnotes%7C%3FassociatedwebsiteRaw%7C%3FBdrcLink%7C%3Fbio%7C%3FBiographicalInfo%7C%3Fbornin%7C%3Fclassification%7C%3FPeople%7C%3Fcurrentworks%7C%3Feducation%7C%3Femail%7C%3FEmanationOfRaw%7C%3FHarLinkRaw%7C%3FHasBnwPage%7C%3FHasDnzPage%7C%3FHasDrlPage%7C%3FHasLibPage%7C%3FHasRtzPage%7C%3Fimages%7C%3FIncarnationsRaw%7C%3FlanguageprimaryRaw%7C%3FlanguagetargetRaw%7C%3FlanguagetranslationRaw%7C%3FMainNamePhon%7C%3FMainNameSkt%7C%3FMainNameTib%7C%3FMainNameWylie%7C%3FMainNameJap%7C%3FMainNameJapTranslit%7C%3FMainNameKor%7C%3FMainNameKorTranslit%7C%3FnamealtRaw%7C%3Fnamefirst%7C%3Fnamelast%7C%3Fnamelastpre%7C%3Fnamemiddle%7C%3Fnameprefix%7C%3Fnamesuffix%7C%3Fnametitlepre%7C%3Fnametitlesuf%7C%3FPersonalAffiliationRaw%7C%3FPersonType%7C%3Fphduniversity%7C%3Fphone%7C%3FreligiousaffiliationRaw%7C%3FstudentofRaw%7C%3FteacherofRaw%7C%3FTertonNameTibRaw%7C%3FTertonNameWylieRaw%7C%3FTibDateAnimal%7C%3FTibDateElement%7C%3FTibDateGender%7C%3FTibDateRabjung%7C%3FTolLinkRaw%7C%3Fyearbirth%7C%3Fyeardeath%7C%3Fcv%7C%3Fpublications%7C%3FFirstImageURL%7C%3FtolExcerpt%7C%3FBnwShortPersonBio%7C%3Fsubclass%7C%3FDatesNotes%7C%3FTibDateDay%7C%3FTibDateMonth%7C%3FTibDateDeathDay%7C%3FTibDateDeathMonth%7C%3FTibDateDeathGender%7C%3FTibDateDeathElement%7C%3FTibDateDeathAnimal%7C%3FTibDateDeathRabjung%7C%3FClassicalProfAff%7C%3FClassicalOtherProfAff%7C%3FNotesOnNames%7C%3FMainNameDev%7C%3FMainNameChi%7C%3FMainNamePin%7C%3FBdrcPnum%7C%3FImagesRaw%7C%3FFirstImage%7C%3FHasEmanations%7C%3FImages%7C%3FSortName&format=json
|format=JSON
|format=JSON
|data=addresslocation=addresslocation,affiliationRaw=affiliationRaw,affiliationsecondaryRaw=affiliationsecondaryRaw,AltNamesOtherRaw=AltNamesOtherRaw,AltNamesTibRaw=AltNamesTibRaw,AltNamesWylieRaw=AltNamesWylieRaw,archivistnotes=archivistnotes,associatedwebsiteRaw=associatedwebsiteRaw,BdrcLink=BdrcLink,bio=bio,BiographicalInfo=BiographicalInfo,bornin=bornin,classification=classification,People=People,currentworks=currentworks,education=education,email=email,EmanationOfRaw=EmanationOfRaw,HarLinkRaw=HarLinkRaw,HasBnwPage=HasBnwPage,HasDnzPage=HasDnzPage,HasDrlPage=HasDrlPage,HasLibPage=HasLibPage,HasRtzPage=HasRtzPage,images=images,IncarnationsRaw=IncarnationsRaw,languageprimaryRaw=languageprimaryRaw,languagetargetRaw=languagetargetRaw,languagetranslationRaw=languagetranslationRaw,MainNamePhon=MainNamePhon,MainNameSkt=MainNameSkt,MainNameTib=MainNameTib,MainNameWylie=MainNameWylie,namealtRaw=namealtRaw,namefirst=namefirst,namelast=namelast,namelastpre=namelastpre,namemiddle=namemiddle,nameprefix=nameprefix,namesuffix=namesuffix,nametitlepre=nametitlepre,nametitlesuf=nametitlesuf,PersonalAffiliationRaw=PersonalAffiliationRaw,PersonType=PersonType,phduniversity=phduniversity,phone=phone,religiousaffiliationRaw=religiousaffiliationRaw,studentofRaw=studentofRaw,teacherofRaw=teacherofRaw,TertonNameTibRaw=TertonNameTibRaw,TertonNameWylieRaw=TertonNameWylieRaw,TibDateAnimal=TibDateAnimal,TibDateElement=TibDateElement,TibDateGender=TibDateGender,TibDateRabjung=TibDateRabjung,TolLinkRaw=TolLinkRaw,yearbirth=yearbirth,yeardeath=yeardeath,cv=cv,publications=publications,FirstImageURL=FirstImageURL,tolExcerpt=tolExcerpt,BnwShortPersonBio=BnwShortPersonBio,subclass=subclass,DatesNotes=DatesNotes,TibDateDay=TibDateDay,TibDateMonth=TibDateMonth,TibDateDeathDay=TibDateDeathDay,TibDateDeathMonth=TibDateDeathMonth,TibDateDeathGender=TibDateDeathGender,TibDateDeathElement=TibDateDeathElement,TibDateDeathAnimal=TibDateDeathAnimal,TibDateDeathRabjung=TibDateDeathRabjung,ClassicalProfAff=ClassicalProfAff,ClassicalOtherProfAff=ClassicalOtherProfAff,NotesOnNames=NotesOnNames,MainNameDev=MainNameDev,MainNameChi=MainNameChi,MainNamePin=MainNamePin,BdrcPnum=BdrcPnum,ImagesRaw=ImagesRaw,FirstImage=FirstImage,MainNameJap=MainNameJap,MainNameJapTranslit=MainNameJapTranslit,MainNameKor=MainNameKor,MainNameKorTranslit=MainNameKorTranslit,SortName=SortName
|data=addresslocation=addresslocation,affiliationRaw=affiliationRaw,affiliationsecondaryRaw=affiliationsecondaryRaw,AltNamesOtherRaw=AltNamesOtherRaw,AltNamesTibRaw=AltNamesTibRaw,AltNamesWylieRaw=AltNamesWylieRaw,archivistnotes=archivistnotes,associatedwebsiteRaw=associatedwebsiteRaw,BdrcLink=BdrcLink,bio=bio,BiographicalInfo=BiographicalInfo,bornin=bornin,classification=classification,People=People,currentworks=currentworks,education=education,email=email,EmanationOfRaw=EmanationOfRaw,HarLinkRaw=HarLinkRaw,HasBnwPage=HasBnwPage,HasDnzPage=HasDnzPage,HasDrlPage=HasDrlPage,HasLibPage=HasLibPage,HasRtzPage=HasRtzPage,images=images,IncarnationsRaw=IncarnationsRaw,languageprimaryRaw=languageprimaryRaw,languagetargetRaw=languagetargetRaw,languagetranslationRaw=languagetranslationRaw,MainNamePhon=MainNamePhon,MainNameSkt=MainNameSkt,MainNameTib=MainNameTib,MainNameWylie=MainNameWylie,namealtRaw=namealtRaw,namefirst=namefirst,namelast=namelast,namelastpre=namelastpre,namemiddle=namemiddle,nameprefix=nameprefix,namesuffix=namesuffix,nametitlepre=nametitlepre,nametitlesuf=nametitlesuf,PersonalAffiliationRaw=PersonalAffiliationRaw,PersonType=PersonType,phduniversity=phduniversity,phone=phone,religiousaffiliationRaw=religiousaffiliationRaw,studentofRaw=studentofRaw,teacherofRaw=teacherofRaw,TertonNameTibRaw=TertonNameTibRaw,TertonNameWylieRaw=TertonNameWylieRaw,TibDateAnimal=TibDateAnimal,TibDateElement=TibDateElement,TibDateGender=TibDateGender,TibDateRabjung=TibDateRabjung,TolLinkRaw=TolLinkRaw,yearbirth=yearbirth,yeardeath=yeardeath,cv=cv,publications=publications,FirstImageURL=FirstImageURL,tolExcerpt=tolExcerpt,BnwShortPersonBio=BnwShortPersonBio,subclass=subclass,DatesNotes=DatesNotes,TibDateDay=TibDateDay,TibDateMonth=TibDateMonth,TibDateDeathDay=TibDateDeathDay,TibDateDeathMonth=TibDateDeathMonth,TibDateDeathGender=TibDateDeathGender,TibDateDeathElement=TibDateDeathElement,TibDateDeathAnimal=TibDateDeathAnimal,TibDateDeathRabjung=TibDateDeathRabjung,ClassicalProfAff=ClassicalProfAff,ClassicalOtherProfAff=ClassicalOtherProfAff,NotesOnNames=NotesOnNames,MainNameDev=MainNameDev,MainNameChi=MainNameChi,MainNamePin=MainNamePin,BdrcPnum=BdrcPnum,ImagesRaw=ImagesRaw,FirstImage=FirstImage,MainNameJap=MainNameJap,MainNameJapTranslit=MainNameJapTranslit,MainNameKor=MainNameKor,MainNameKorTranslit=MainNameKorTranslit,SortName=SortName,HasEmanations=HasEmanations,Images=Images
}}__NOTOC____NOEDITSECTION__
}}__NOTOC____NOEDITSECTION__
<h2 style="padding-bottom: .1em;">
<h2 style="padding-bottom: .1em;">
<div class="float-right" style="padding-top: 1.5em;">{{#if: {{#external_value: TolLinkRaw }}  
<div class="float-right" style="padding-top: 1.5em;">{{#ifsysop:[[File:Tsadra Logo Master 1000 with Text.png|x35px|link=https://commons.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-1|Tsadra Commons]]&nbsp;&nbsp;&nbsp;|}}{{#if: {{#external_value: TolLinkRaw }}  
| [[File:TOLlogo.png|x30px|link={{#external_value: TolLinkRaw }}|class=mr-1|The Treasury of Lives]]  
| [[File:TOLlogo.png|x30px|link={{#external_value: TolLinkRaw }}|class=mr-1|The Treasury of Lives]]  
|
|
Line 66: Line 66:
</h2>
</h2>


<div style="display: flex; justify-content: start; flex-flow: row wrap; margin: 1em 0;">{{#arraymap:{{#external_value:Images}}|\n|@@@|[[@@@|thumb|none|x200px]]|&nbsp;}}</div>


{{#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 class="group">


{| class="smwtable-clean th-top-right th-nowrap"
|+ All Names
|-
! Main Wylie Name
| {{#external_value: MainNameWylie }}
| <wytotib>{{lc:{{#external_value: MainNameWylie }}}}</wytotib>{{#if: {{#external_value: TertonNameWylieRaw }} | <br>
{{!}}-
! Terton Name
{{!}} {{#external_value: TertonNameWylieRaw }}
{{!}} <wytotib>{{#external_value: TertonNameWylieRaw }}</wytotib> | }}
|-
! Other Names
| <ul>{{#arraymap: {{#external_value: AltNamesWylieRaw }};{{#external_value: AltNamesOtherRaw }}
|;
|@@@
|<li>@@@</li>
|
}}</ul>
| <ul>{{#arraymap: {{#external_value: AltNamesTibRaw }}
|;
|@@@
|<li><span class="TibList">@@@</span></li>
|
}}</ul>
|}


<div class="h2 mt-5 d-md-flex justify-content-between align-items-end no-after-display">
{| class="smwtable-clean th-top-right th-nowrap"
<div class="float-left mr-2">{{#arraymap: {{#if: {{#external_value: MainNameDev }}  
|+ Relationships {{#if: {{#external_value: affiliationRaw }} | <br>
| {{#external_value: MainNameTib }}  
{{!}}-
|  
! Primary Affiliation
}}; {{#external_value: MainNameChi }}; {{#external_value: MainNameJap }}; {{#external_value: MainNameKor }}
{{!}} {{#external_value: affiliationRaw }} | }}
|-
! Religious Affiliation
| {{#external_value: religiousaffiliationRaw }}
|-
! Is Emanation of
| <ul>{{#arraymap: {{#external_value:EmanationOfRaw}}
|;
|@@@
|<li>[[@@@]]</li>
|
}}</ul>
|-
! Has Following Emanations
| <ul>{{#arraymap: {{#external_value:HasEmanations}}
|,
|@@@
|<li>[[@@@]]</li>
|
}}</ul>
{{#if: {{#external_value:studentofRaw}} |
{{!}}-
! Teachers
{{!}} <ul>{{#arraymap: {{#external_value:studentofRaw}}
|;
|;
|@@@
|@@@
|<li>[[@@@]]</li>
|
}}</ul>
| }}
{{#if: {{#external_value:teacherofRaw}} |
{{!}}-
! Students
{{!}} <ul>{{#arraymap: {{#external_value:teacherofRaw}}
|;
|@@@
|@@@
|&nbsp;·&nbsp;
|<li>[[@@@]]</li>
}}
|
</div>
}}</ul> | }}
|}
 
{| class="smwtable-clean th-top-right th-nowrap"
|+ Links
|-
! BDRC
| {{#external_value:BdrcLink}}
|-
! Treasury of Lives
| {{#external_value:TolLinkRaw}}
|-
! Himalayan Art Resources
| {{#external_value: HarLinkRaw }}
|}
 
</div>
</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">
 
<div class="col-lg-4 p-0">
{{#set:
<div class="bnw-person-image mx-2 mb-5 position-relative">
{{#widget:RoundFancyboxImage
|filepath={{#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}}}}}}|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}}
Line 197: Line 228:
|NotesOnNames={{#external_value:NotesOnNames}}
|NotesOnNames={{#external_value:NotesOnNames}}
|PersonalAffiliationRaw={{#external_value:PersonalAffiliationRaw}}
|PersonalAffiliationRaw={{#external_value:PersonalAffiliationRaw}}
|PersonType={{#external_value:PersonType}}
|PersonType={{#external_value:PersonType}}|+sep=,
|phduniversity={{#external_value:phduniversity}}
|phduniversity={{#external_value:phduniversity}}
|phone={{#external_value:phone}}
|phone={{#external_value:phone}}
Line 224: Line 255:
|yearbirth={{#external_value:yearbirth}}
|yearbirth={{#external_value:yearbirth}}
|yeardeath={{#external_value:yeardeath}}
|yeardeath={{#external_value:yeardeath}}
}}[[Category:People]]</includeonly><noinclude>{{TemplateTag}}</noinclude>
|HasEmanations={{#external_value:HasEmanations}}|+sep=,
}}[[Category:People]][[Category:People Pages from Tsadra Commons]]</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 15:38, 31 August 2021