Template:PersonCall: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#get_web_data:url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[{{PAGENAME}}]]}}&po=addresslocation%0AaffiliationRaw%0AaffiliationsecondaryRaw%0AAltNamesOtherRaw%0AAltNamesTibRaw%0AAltNamesWylieRaw%0Aarchivistnotes%0AassociatedwebsiteRaw%0ABdrcLink%0Abio%0ABiographicalInfo%0Abornin%0Aclassification%0Acurrentworks%0ADnzClassificationRaw%0ADnzNotes%0Aeducation%0Aemail%0AEmanationOfRaw%0AGyatsaBioEndFolio%0AGyatsaBioEndPage%0AGyatsaBioStartFolio%0AGyatsaBioStartPage%0AGyatsaBioTib%0AGyatsaBioWylie%0AGyatsaNameTib%0AGyatsaNameWylie%0AHarLinkRaw%0AHasBnwPage%0AHasDnzPage%0AHasDrlPage%0AHasLibPage%0AHasRtzPage%0Aimages%0AIncarnationsRaw%0AIsInGyatsa%0AlanguageprimaryRaw%0AlanguagetargetRaw%0AlanguagetranslationRaw%0AMainNamePhon%0AMainNameSkt%0AMainNameTib%0AMainNameWylie%0AnamealtRaw%0Anamefirst%0Anamelast%0Anamelastpre%0Anamemiddle%0Anameprefix%0Anamesuffix%0Anametitlepre%0Anametitlesuf%0Apagename%0APersonalAffiliationRaw%0APersonTypeRaw%0Aphduniversity%0Aphone%0APosAllBuddha%0APosAllBuddhaMoreNotes%0APosAllBuddhaNote%0APosAnalyticMedit%0APosAnalyticMeditNotes%0APosBuNayDefProv%0APosBuNayDefProvNotes%0APosEmptyLumin%0APosEmptyLuminNotes%0APosSvataPrasa%0APosSvataPrasaNotes%0APosVajrapada%0APosVehicles%0APosVehiclesNotes%0APosWheelTurn%0APosWheelTurnNotes%0APosYogaMadhya%0APosYogaMadhyaNotes%0APosZhenRang%0APosZhenRangNotes%0AreligiousaffiliationRaw%0AstudentofRaw%0AteacherofRaw%0ATertonNameTibRaw%0ATertonNameWylieRaw%0ATibDateAnimal%0ATibDateElement%0ATibDateGender%0ATibDateRabjung%0ATolLinkRaw%0Ayearbirth%0Ayeardeath%0AHasEmanations%0AGyatsaBioTrans&p[format]=csv|format=CSV with header|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,currentworks=currentworks,DnzClassificationRaw=DnzClassificationRaw,DnzNotes=DnzNotes,education=education,email=email,EmanationOfRaw=EmanationOfRaw,GyatsaBioEndFolio=GyatsaBioEndFolio,GyatsaBioEndPage=GyatsaBioEndPage,GyatsaBioStartFolio=GyatsaBioStartFolio,GyatsaBioStartPage=GyatsaBioStartPage,GyatsaBioTib=GyatsaBioTib,GyatsaBioWylie=GyatsaBioWylie,GyatsaNameTib=GyatsaNameTib,GyatsaNameWylie=GyatsaNameWylie,HarLinkRaw=HarLinkRaw,HasBnwPage=HasBnwPage,HasDnzPage=HasDnzPage,HasDrlPage=HasDrlPage,HasLibPage=HasLibPage,HasRtzPage=HasRtzPage,images=images,IncarnationsRaw=IncarnationsRaw,IsInGyatsa=IsInGyatsa,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,pagename=pagename,PersonalAffiliationRaw=PersonalAffiliationRaw,PersonTypeRaw=PersonTypeRaw,phduniversity=phduniversity,phone=phone,PosAllBuddha=PosAllBuddha,PosAllBuddhaMoreNotes=PosAllBuddhaMoreNotes,PosAllBuddhaNote=PosAllBuddhaNote,PosAnalyticMedit=PosAnalyticMedit,PosAnalyticMeditNotes=PosAnalyticMeditNotes,PosBuNayDefProv=PosBuNayDefProv,PosBuNayDefProvNotes=PosBuNayDefProvNotes,PosEmptyLumin=PosEmptyLumin,PosEmptyLuminNotes=PosEmptyLuminNotes,PosSvataPrasa=PosSvataPrasa,PosSvataPrasaNotes=PosSvataPrasaNotes,PosVajrapada=PosVajrapada,PosVehicles=PosVehicles,PosVehiclesNotes=PosVehiclesNotes,PosWheelTurn=PosWheelTurn,PosWheelTurnNotes=PosWheelTurnNotes,PosYogaMadhya=PosYogaMadhya,PosYogaMadhyaNotes=PosYogaMadhyaNotes,PosZhenRang=PosZhenRang,PosZhenRangNotes=PosZhenRangNotes,religiousaffiliationRaw=religiousaffiliationRaw,studentofRaw=studentofRaw,teacherofRaw=teacherofRaw,TertonNameTibRaw=TertonNameTibRaw,TertonNameWylieRaw=TertonNameWylieRaw,TibDateAnimal=TibDateAnimal,TibDateElement=TibDateElement,TibDateGender=TibDateGender,TibDateRabjung=TibDateRabjung,TolLinkRaw=TolLinkRaw,yearbirth=yearbirth,yeardeath=yeardeath,HasEmanations=HasEmanations,GyatsaBioTrans=GyatsaBioTrans}}__NOTOC__ | <includeonly>{{#get_web_data:url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[{{PAGENAME}}]]}}&po=addresslocation%0AaffiliationRaw%0AaffiliationsecondaryRaw%0AAltNamesOtherRaw%0AAltNamesTibRaw%0AAltNamesWylieRaw%0Aarchivistnotes%0AassociatedwebsiteRaw%0ABdrcLink%0Abio%0ABiographicalInfo%0Abornin%0Aclassification%0Acurrentworks%0ADnzClassificationRaw%0ADnzNotes%0Aeducation%0Aemail%0AEmanationOfRaw%0AGyatsaBioEndFolio%0AGyatsaBioEndPage%0AGyatsaBioStartFolio%0AGyatsaBioStartPage%0AGyatsaBioTib%0AGyatsaBioWylie%0AGyatsaNameTib%0AGyatsaNameWylie%0AHarLinkRaw%0AHasBnwPage%0AHasDnzPage%0AHasDrlPage%0AHasLibPage%0AHasRtzPage%0Aimages%0AIncarnationsRaw%0AIsInGyatsa%0AlanguageprimaryRaw%0AlanguagetargetRaw%0AlanguagetranslationRaw%0AMainNamePhon%0AMainNameSkt%0AMainNameTib%0AMainNameWylie%0AnamealtRaw%0Anamefirst%0Anamelast%0Anamelastpre%0Anamemiddle%0Anameprefix%0Anamesuffix%0Anametitlepre%0Anametitlesuf%0Apagename%0APersonalAffiliationRaw%0APersonTypeRaw%0Aphduniversity%0Aphone%0APosAllBuddha%0APosAllBuddhaMoreNotes%0APosAllBuddhaNote%0APosAnalyticMedit%0APosAnalyticMeditNotes%0APosBuNayDefProv%0APosBuNayDefProvNotes%0APosEmptyLumin%0APosEmptyLuminNotes%0APosSvataPrasa%0APosSvataPrasaNotes%0APosVajrapada%0APosVehicles%0APosVehiclesNotes%0APosWheelTurn%0APosWheelTurnNotes%0APosYogaMadhya%0APosYogaMadhyaNotes%0APosZhenRang%0APosZhenRangNotes%0AreligiousaffiliationRaw%0AstudentofRaw%0AteacherofRaw%0ATertonNameTibRaw%0ATertonNameWylieRaw%0ATibDateAnimal%0ATibDateElement%0ATibDateGender%0ATibDateRabjung%0ATolLinkRaw%0Ayearbirth%0Ayeardeath%0AHasEmanations%0AGyatsaBioTrans&p[format]=csv|format=CSV with header|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,currentworks=currentworks,DnzClassificationRaw=DnzClassificationRaw,DnzNotes=DnzNotes,education=education,email=email,EmanationOfRaw=EmanationOfRaw,GyatsaBioEndFolio=GyatsaBioEndFolio,GyatsaBioEndPage=GyatsaBioEndPage,GyatsaBioStartFolio=GyatsaBioStartFolio,GyatsaBioStartPage=GyatsaBioStartPage,GyatsaBioTib=GyatsaBioTib,GyatsaBioWylie=GyatsaBioWylie,GyatsaNameTib=GyatsaNameTib,GyatsaNameWylie=GyatsaNameWylie,HarLinkRaw=HarLinkRaw,HasBnwPage=HasBnwPage,HasDnzPage=HasDnzPage,HasDrlPage=HasDrlPage,HasLibPage=HasLibPage,HasRtzPage=HasRtzPage,images=images,IncarnationsRaw=IncarnationsRaw,IsInGyatsa=IsInGyatsa,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,pagename=pagename,PersonalAffiliationRaw=PersonalAffiliationRaw,PersonTypeRaw=PersonTypeRaw,phduniversity=phduniversity,phone=phone,PosAllBuddha=PosAllBuddha,PosAllBuddhaMoreNotes=PosAllBuddhaMoreNotes,PosAllBuddhaNote=PosAllBuddhaNote,PosAnalyticMedit=PosAnalyticMedit,PosAnalyticMeditNotes=PosAnalyticMeditNotes,PosBuNayDefProv=PosBuNayDefProv,PosBuNayDefProvNotes=PosBuNayDefProvNotes,PosEmptyLumin=PosEmptyLumin,PosEmptyLuminNotes=PosEmptyLuminNotes,PosSvataPrasa=PosSvataPrasa,PosSvataPrasaNotes=PosSvataPrasaNotes,PosVajrapada=PosVajrapada,PosVehicles=PosVehicles,PosVehiclesNotes=PosVehiclesNotes,PosWheelTurn=PosWheelTurn,PosWheelTurnNotes=PosWheelTurnNotes,PosYogaMadhya=PosYogaMadhya,PosYogaMadhyaNotes=PosYogaMadhyaNotes,PosZhenRang=PosZhenRang,PosZhenRangNotes=PosZhenRangNotes,religiousaffiliationRaw=religiousaffiliationRaw,studentofRaw=studentofRaw,teacherofRaw=teacherofRaw,TertonNameTibRaw=TertonNameTibRaw,TertonNameWylieRaw=TertonNameWylieRaw,TibDateAnimal=TibDateAnimal,TibDateElement=TibDateElement,TibDateGender=TibDateGender,TibDateRabjung=TibDateRabjung,TolLinkRaw=TolLinkRaw,yearbirth=yearbirth,yeardeath=yeardeath,HasEmanations=HasEmanations,GyatsaBioTrans=GyatsaBioTrans}}__NOTOC__ | ||
<div | <div style="font-size: large; text-align: left; margin: 1em 0;">{{#if:{{#external_value: MainNameTib }}{{#external_value: MainNameWylie }}{{#external_value: MainNameSkt }}{{#external_value: MainNamePhon }} | | ||
<div style="font-size: xx-large; white-space: nowrap;">{{#external_value: MainNameTib }}</div>{{#if:{{#external_value: MainNameWylie }}| | |||
{{#external_value: MainNameWylie }}|}}{{#if:{{#external_value: MainNameSkt }}|<br> | |||
{{#external_value: MainNameSkt }}|}}{{#if:{{#external_value: MainNamePhon }}|<br> | |||
{{#external_value: MainNamePhon }}|}}|}}{{#if: {{#external_value: namelast }} | | |||
<div style="font-size: large | <div style="font-size: x-large">{{#external_value: nametitlepre }} {{#external_value: nameprefix }} {{#external_value: namefirst }} {{#external_value: namemiddle }} {{#external_value: namelastpre }} {{#external_value: namelast }} {{#external_value: namesuffix }} {{#external_value: nametitlesuf }}</div>|}} | ||
</div>{{#if:{{#external_value: images }}| | |||
<div class="personInfoHeadings"></div> | |||
<div style="display: flex; flex-flow: row wrap;">{{#arraymap:{{#external_value: images }}|\n|@@@|[[@@@|thumb|x200px]]| }}</div>|}}{{#if:{{#external_value: TertonNameWylieRaw }}| | |||
<div class="personInfoHeadings">Tertön name</div> | |||
{{#external_value: TertonNameWylieRaw }} <span style="color: #ea4100;">•</span> <big>{{#external_value: TertonNameTibRaw }}</big>|}}{{#if:{{#external_value: AltNamesTibRaw }}{{#external_value: AltNamesWylieRaw }}| | {{#external_value: TertonNameWylieRaw }} <span style="color: #ea4100;">•</span> <big>{{#external_value: TertonNameTibRaw }}</big>|}}{{#if:{{#external_value: AltNamesTibRaw }}{{#external_value: AltNamesWylieRaw }}| | ||
<div class="personInfoHeadings">Other names</div> | |||
<div class="row"> | |||
<div class="column"> | |||
<ul>{{#arraymap:{{#external_value: AltNamesTibRaw }}|;|@@@|<li>@@@</li>|}}</ul> | |||
</div> | |||
<div class="column"> | |||
<ul>{{#arraymap:{{#external_value: AltNamesWylieRaw }}|;|@@@|<li>@@@</li>|}}</ul> | |||
</div> | |||
</div>|}}{{#if:{{#external_value: namealtRaw }}{{#external_value: AltNamesOtherRaw }} | | |||
<div class="personInfoHeadings">Alternate names</div> | |||
<ul>{{#arraymap:{{#external_value: namealtRaw }}{{#external_value: AltNamesOtherRaw }}|;|@@@|<li>@@@</li>|}}</ul>|}}{{#if: {{#external_value: yearbirth }} | | |||
<div class="personInfoHeadings">Dates</div> | |||
<table class="personTemplate"> | |||
<tr> | |||
<th>Birth: </th> | |||
<td>{{#external_value: yearbirth }}</td> | |||
</tr>{{#if: {{#external_value: yeardeath }} | | |||
<tr> | |||
<th>Death: </th> | |||
<td>{{#external_value: yeardeath }}</td> | |||
</tr> | }}{{#if: {{#external_value: bornin }} | | |||
<tr> | |||
<th>Place of birth: </th> | |||
<td>{{#external_value: bornin }}</td> | |||
</tr> | }} | |||
</table> | }}{{#if:{{#external_value: TibDateAnimal }}| | |||
{{{!}} class="personTemplate" | {{{!}} class="personTemplate" | ||
Line 70: | Line 68: | ||
{{!}}}|}}{{#if:{{#external_value: email }}{{#external_value: phone }}{{#external_value: addresslocation }}{{#external_value: associatedwebsiteRaw }}| | {{!}}}|}}{{#if:{{#external_value: email }}{{#external_value: phone }}{{#external_value: addresslocation }}{{#external_value: associatedwebsiteRaw }}| | ||
<div class="personInfoHeadings">Contact information</div> | |||
{{{!}} class="personTemplate" | {{{!}} class="personTemplate" | ||
Line 87: | Line 85: | ||
{{!}}}|}} | {{!}}}|}} | ||
<div class="personInfoHeadings">About</div> | |||
{| class="personTemplate" {{#if: {{#external_value: languageprimaryRaw }} | <br> | {| class="personTemplate" {{#if: {{#external_value: languageprimaryRaw }} | <br> | ||
Line 150: | Line 148: | ||
</dl> | }} | </dl> | }} | ||
<div class="personInfoHeadings">Links</div>{{#if: {{#external_value: BdrcLink }} | | |||
;[https://www.tbrc.org/ BDRC] Link | ;[https://www.tbrc.org/ BDRC] Link | ||
Line 276: | Line 274: | ||
</div> | </div> | ||
</div> | }} | </div> | }} | ||
{{#arraydefine: full_array_images | {{#external_value:images}} | /\s*[{{!}}\n]\s*/ }}{{#arrayslice: first_value_images | full_array_images | 0 | 1 }} | {{#arraydefine: full_array_images | {{#external_value:images}} | /\s*[{{!}}\n]\s*/ }}{{#arrayslice: first_value_images | full_array_images | 0 | 1 }}{{#set: | ||
addresslocation={{#external_value:addresslocation}} | addresslocation={{#external_value:addresslocation}} | ||
|affiliationRaw={{#external_value:affiliationRaw}}|+sep=; | |affiliationRaw={{#external_value:affiliationRaw}}|+sep=; |