Transcluding People Pages on Other Wikis
This wiki is setup so that data from the people pages here can be included in other wikis. This allows for us to only create and maintain a person's page once and in one place.
Now, in order to include this data on a different wiki, you will need to create a template that first queries for the information on this wiki here, and then displays it appropriately in the receiving wiki.
I have created a standard template here that can be adapted as needed for each wiki on which it is used.
Template:PersonCall[edit]
<includeonly> {{#get_web_data:url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[{{PAGENAME}}]]}}&po=addresslocation%0Aaffiliation_raw%0Aaffiliationsecondary_raw%0AAltNamesOther_raw%0AAltNamesTib_raw%0AAltNamesWylie_raw%0Aarchivistnotes%0Aassociatedwebsite_raw%0ABdrcLink%0Abio%0ABiographicalInfo%0Abornin%0ABornIn%0Aclassification=People%0Acurrentworks%0ADnzClassification_raw%0ADnzNotes%0Aeducation%0Aemail%0AEmanationOf_raw%0AGyatsaBioEndFolio%0AGyatsaBioEndPage%0AGyatsaBioStartFolio%0AGyatsaBioStartPage%0AGyatsaBioTib%0AGyatsaBioWylie%0AGyatsaNameTib%0AGyatsaNameWylie%0AHarLink_raw%0AHasBnwPage%0AHasDnzPage%0AHasDrlPage%0AHasLibPage%0AHasRtzPage%0Aimages%0AIncarnations_raw%0AIsInGyatsa%0Alanguageprimary_raw%0Alanguagetarget_raw%0Alanguagetranslation_raw%0AMainNamePhon%0AMainNameSkt%0AMainNameTib%0AMainNameWylie%0Anamealt_raw%0Anamefirst%0Anamelast%0Anamelastpre%0Anamemiddle%0Anameprefix%0Anamesuffix%0Anametitlepre%0Anametitlesuf%0Apagename%0APersonalAffiliation_raw%0Apersontype_raw%0APersonType_raw%0Aphduniversity%0Aphone%0APosAllBuddha%0APosAllBuddhaMoreNotes%0APosAllBuddhaNote%0APosAnalyticMedit%0APosAnalyticMeditNotes%0APosBuNayDefProv%0APosBuNayDefProvNotes%0APosDefProv%0APosDefProvNotes%0APosEmptyLumin%0APosEmptyLuminNotes%0APosSvataPrasa%0APosSvataPrasaNotes%0APosVajrapada%0APosVehicles%0APosVehiclesNotes%0APosWheelTurn%0APosWheelTurnNotes%0APosYogaMadhya%0APosYogaMadhyaNotes%0APosZhenRang%0APosZhenRangNotes%0Areligiousaffiliation_raw%0AReligiousAffiliation_raw%0Astudentof_raw%0AStudentOf_raw%0Ateacherof_raw%0ATeacherOf_raw%0ATertonNameTib_raw%0ATertonNameWylie%0ATibDateAnimal%0ATibDateElement%0ATibDateGender%0ATibDateRabjung%0ATolLink%0Ayearbirth%0AYearBirth%0Ayeardeath%0AYearDeath&p[format]=csv&p[sep]=,|format=csv with header|data=addresslocation=addresslocation,affiliation=affiliation,affiliationsecondary_raw=affiliationsecondary_raw,AltNamesOther_raw=AltNamesOther_raw,AltNamesTib_raw=AltNamesTib_raw,AltNamesWylie_raw=AltNamesWylie_raw,archivistnotes=archivistnotes,associatedwebsite_raw=associatedwebsite_raw,BdrcLink=BdrcLink,bio=bio,BiographicalInfo=BiographicalInfo,bornin=bornin,BornIn=BornIn,classification=People=classification=People,currentworks=currentworks,DnzClassification_raw=DnzClassification_raw,DnzNotes=DnzNotes,education=education,email=email,EmanationOf_raw=EmanationOf_raw,GyatsaBioEndFolio=GyatsaBioEndFolio,GyatsaBioEndPage=GyatsaBioEndPage,GyatsaBioStartFolio=GyatsaBioStartFolio,GyatsaBioStartPage=GyatsaBioStartPage,GyatsaBioTib=GyatsaBioTib,GyatsaBioWylie=GyatsaBioWylie,GyatsaNameTib=GyatsaNameTib,GyatsaNameWylie=GyatsaNameWylie,HarLink_raw=HarLink_raw,HasBnwPage=HasBnwPage,HasDnzPage=HasDnzPage,HasDrlPage=HasDrlPage,HasLibPage=HasLibPage,HasRtzPage=HasRtzPage,images=images,Incarnations_raw=Incarnations_raw,IsInGyatsa=IsInGyatsa,languageprimary_raw=languageprimary_raw,languagetarget_raw=languagetarget_raw,languagetranslation_raw=languagetranslation_raw,MainNamePhon=MainNamePhon,MainNameSkt=MainNameSkt,MainNameTib=MainNameTib,MainNameWylie=MainNameWylie,namealt_raw=namealt_raw,namefirst=namefirst,namelast=namelast,namelastpre=namelastpre,namemiddle=namemiddle,nameprefix=nameprefix,namesuffix=namesuffix,nametitlepre=nametitlepre,nametitlesuf=nametitlesuf,pagename=pagename,PersonalAffiliation_raw=PersonalAffiliation_raw,persontype_raw=persontype_raw,PersonType_raw=PersonType_raw,phduniversity=phduniversity,phone=phone,PosAllBuddha=PosAllBuddha,PosAllBuddhaMoreNotes=PosAllBuddhaMoreNotes,PosAllBuddhaNote=PosAllBuddhaNote,PosAnalyticMedit=PosAnalyticMedit,PosAnalyticMeditNotes=PosAnalyticMeditNotes,PosBuNayDefProv=PosBuNayDefProv,PosBuNayDefProvNotes=PosBuNayDefProvNotes,PosDefProv=PosDefProv,PosDefProvNotes=PosDefProvNotes,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,religiousaffiliation_raw=religiousaffiliation_raw,ReligiousAffiliation_raw=ReligiousAffiliation_raw,studentof_raw=studentof_raw,StudentOf_raw=StudentOf_raw,teacherof_raw=teacherof_raw,TeacherOf_raw=TeacherOf_raw,TertonNameTib_raw=TertonNameTib_raw,TertonNameWylie=TertonNameWylie,TibDateAnimal=TibDateAnimal,TibDateElement=TibDateElement,TibDateGender=TibDateGender,TibDateRabjung=TibDateRabjung,TolLink=TolLink,yearbirth=yearbirth,YearBirth=YearBirth,yeardeath=yeardeath,YearDeath=YearDeath}}__NOTOC__ <div class="person-white-box person-depth-2 person-infobox"> <span class="plainlinks" style="float: right;">[https://commons.tsadra.org/index.php/Special:FormEdit/Person/{{PAGENAMEE}} <i class="fas fa-edit"></i>]</span> <div style="clear: both;"></div> <span style="float: right; font-size: small; ">{{#arraymap:{{#external_value: PersonType_raw }};{{#external_value: persontype_raw }}|;|@@@|[[:Category:@@@|@@@]]| <span style="color: #ea4100;">•</span> }}</span> <div style="font-size: large; text-align: left; margin-bottom: 15px;">{{#if:{{#external_value: MainNameTib }}{{#external_value: MainNameWylie }}{{#external_value: MainNameSkt }}{{#external_value: MainNamePhon }} | <div style="font-size: xx-large;">{{#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: 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 style="display: flex; flex-flow: row wrap; justify-content: space-around;">{{#arraymap:{{#external_value: images }}|\n|@@@|[[@@@|thumb|x200px]]| }}</div>|}}{{#if:{{#external_value: TertonNameWylie }}| <div class="personInfoHeadings">Tertön name</div> {{#external_value: TertonNameWylie }} <span style="color: #ea4100;">•</span> <big>{{#external_value: TertonNameTib_raw }}</big>|}}{{#if:{{#external_value: AltNamesTib_raw }}{{#external_value: AltNamesWylie_raw }}| <div class="personInfoHeadings">Other names</div> <div class="row"> <div class="column"> <ul>{{#arraymap:{{#external_value: AltNamesTib_raw }}|;|@@@|<li>@@@</li>|}}</ul> </div> <div class="column"> <ul>{{#arraymap:{{#external_value: AltNamesWylie_raw }}|;|@@@|<li>@@@</li>|}}</ul> </div> </div>|}}{{#if:{{#external_value: namealt_raw }}{{#external_value: AltNamesOther_raw }} | <div class="personInfoHeadings">Alternate names</div> <ul>{{#arraymap:{{#external_value: namealt_raw }}{{#external_value: AltNamesOther_raw }}|;|@@@|<li>@@@</li>|}}</ul>|}} <div class="personInfoHeadings">Dates</div> {| class="personTemplate" ! Year of birth: | {{#external_value: YearBirth }}{{#external_value: yearbirth }} |- ! Year of death: | {{#external_value: YearDeath }}{{#external_value: yeardeath }} |- ! Place of birth: | {{#external_value: BornIn }}{{#external_value: bornin }} |}{{#if:{{#external_value: TibDateAnimal }}| {{{!}} class="personTemplate" {{!}} colspan="2" style="padding-top: 5px;" {{!}} ''Tibetan date of birth'' {{!}}- ! Gender: {{!}} {{#external_value: TibDateGender }} {{!}}- ! Element: {{!}} {{#external_value: TibDateElement }} {{!}}- ! Animal: {{!}} {{#external_value: TibDateAnimal }} {{!}}- ! Rab Jyung: {{!}} {{#external_value: TibDateRabjung }} {{!}}}|}}{{#if:{{#external_value: email }}{{#external_value: phone }}{{#external_value: addresslocation }}{{#external_value: associatedwebsite_raw }}| <div class="personInfoHeadings">Contact information</div> {{{!}} class="personTemplate" {{#if: {{#external_value: email }} | ! Email: {{!}} {{#external_value: email }}|}}{{#if: {{#external_value: phone }} | <br> {{!}}- ! Phone: {{!}} {{#external_value: phone }}|}}{{#if: {{#external_value: addresslocation }} | <br> {{!}}- ! style="vertical-align: top;" {{!}} Location: {{!}} {{#external_value: addresslocation }}|}}{{#if: {{#external_value: associatedwebsite_raw }} | <br> {{!}}- ! Website: {{!}} {{#external_value: associatedwebsite_raw }}|}} {{!}}}|}} <div class="personInfoHeadings">About</div> {| class="personTemplate" {{#if: {{#external_value: languageprimary_raw }} | <br> ! Primary Language: {{!}} {{#external_value: languageprimary_raw }} | }}{{#if: {{#external_value: languagetranslation_raw }} | <br> {{!}}- ! Translates from: {{!}} {{#external_value: languagetranslation_raw }} | }}{{#if: {{#external_value: languagetarget_raw }} | <br> {{!}}- ! Translates to: {{!}} {{#external_value: languagetarget_raw }} | }} |}{{#if: {{#external_value: affiliation_raw }}{{#external_value: PersonalAffiliation_raw }} | ;Affiliations :{{#external_value: affiliation_raw }}{{#external_value: PersonalAffiliation_raw }} | }}{{#if: {{#external_value: affiliationsecondary_raw }} | ;Secondary Affiliation :{{#external_value: affiliationsecondary_raw }} | }}{{#if: {{#external_value: religiousaffiliation_raw }}{{#external_value: ReligiousAffiliation_raw }} | ;Religious Affiliations :{{#external_value: religiousaffiliation_raw }}{{#external_value: ReligiousAffiliation_raw }} | }}{{#if: {{#external_value: EmanationOf_raw }} | ;Emanation of :{{#external_value: EmanationOf_raw }} | }}{{#if: {{#external_value: Incarnations_raw }} | <dl> <dt>Incarnations</dt> <dd> {{#external_value: Incarnations_raw }}</dd> </dl> | }}{{#if: {{#external_value: studentof_raw }}{{#external_value: StudentOf_raw }} | ;Teachers :{{#arraymap:{{#external_value: studentof_raw }};{{#external_value: StudentOf_raw }}|;|@@@|{{#formredlink:form=Person|target=@@@|new window}}| <span style="color: #ea4100;">·</span> }} | }}{{#if: {{#external_value: teacherof_raw }}{{#external_value: TeacherOf_raw }} | ;Students :{{#arraymap:{{#external_value: teacherof_raw }}{{#external_value: TeacherOf_raw }}|;|@@@|{{#formredlink:form=Person|target=@@@|new window}}| <span style="color: #ea4100;">·</span> }} | }}{{#if: {{#external_value: currentworks }} | ;Current projects :{{#external_value: currentworks }} | }}{{#if: {{#external_value: phduniversity }} | ;PhD University :{{#external_value: phduniversity }} | }}{{#if: {{#external_value: education }} | ;Education :{{#external_value: education }} | }}{{#if: {{#external_value: bio }}{{#external_value: BiographicalInfo }} | ;Biographical information :{{#external_value: bio }}{{#external_value: BiographicalInfo }} | }} <div class="personInfoHeadings">Links</div>{{#if: {{#external_value: BdrcLink }} | ;[https://www.tbrc.org/ BDRC] Link :{{#external_value: BdrcLink }} | }}{{#if: {{#external_value: TolLink }} | ;[http://www.treasuryoflives.org/ Treasury of Lives] Link :{{#external_value: TolLink }} | }}{{#if: {{#external_value: HarLink_raw }} | ;[http://www.himalayanart.org/ Himalayan Art Resources] Link or Other Art Resource :{{#external_value: HarLink_raw }} | }} ;Wiki Pages{{#ifeq:{{#external_value: HasDrlPage }}|Yes| * [http://research.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DRL]|}}{{#ifeq:{{#external_value: HasLibPage }}|Yes| * [http://library.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the LIB]|}}{{#ifeq:{{#external_value: HasRtzPage }}|Yes| * [http://rtz.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the RTZ]|}}{{#ifeq:{{#external_value: HasDnzPage }}|Yes| * [http://dnz.tsadra.org/index.php/{{PAGENAMEE}} {{PAGENAME}} on the DNZ]|}} {{#if: {{#external_value: ArchivistNotes }} | <div class="personInfoHeadings">Notes</div> {{#external_value: ArchivistNotes }} | }}{{#ifeq:{{#external_value: IsInGyatsa }}|Yes| <div class="personInfoHeadings">Tertön Gyatsa Information from the Rinchen Terdzö</div> ;Name in the Gyatsa in Tibetan script :{{#external_value: GyatsaNameWylie }} ;Name in the Gyatsa in Wylie :{{#external_value: GyatsaNameTib }} <table class="personTemplate"> <tr> <th>Start Page #</th> <td>{{#external_value: GyatsaBioStartPage }}</td> </tr> <tr> <th>End Page #</th> <td>{{#external_value: GyatsaBioEndPage }}</td> </tr> <tr> <th>Start Folio #</th> <td>{{#external_value: GyatsaBioStartFolio }}</td> </tr> <tr> <th>End Folio #</th> <td>{{#external_value: GyatsaBioEndFolio }}</td> </tr> </table> ;Full Content of Bio in Tibetan :{{#external_value: GyatsaBioTib }} ;Full Content of Bio in Wylie :{{#external_value: GyatsaBioWylie }}|}}{{#if: {{#external_value: DnzClassification_raw }}{{#external_value: DnzNotes }} | <div class="personInfoHeadings">Information Related to Damngak Dzöd</div> ;Classifications Specific to DNZ :{{#arraymap:{{#external_value: DnzClassification_raw }}|;|@@@|@@@| <span style="color: #ea4100;">•</span> }} ;Notes DNZ :{{#external_value: DnzNotes }} | }} </div>{{#set: addresslocation={{#external_value:addresslocation}} |affiliation_raw={{#external_value:affiliation_raw}}|+sep=; |affiliationsecondary_raw={{#external_value:affiliationsecondary_raw}}|+sep=; |AltNamesOther_raw={{#external_value:AltNamesOther_raw}}|+sep=; |AltNamesTib_raw={{#external_value:AltNamesTib_raw}}|+sep=; |AltNamesWylie_raw={{#external_value:AltNamesWylie_raw}}|+sep=; |archivistnotes={{#external_value:archivistnotes}} |associatedwebsite_raw={{#external_value:associatedwebsite_raw}}|+sep=; |BdrcLink={{#external_value:BdrcLink}} |bio={{#external_value:bio}} |BiographicalInfo={{#external_value:BiographicalInfo}} |bornin={{#external_value:bornin}} |BornIn={{#external_value:BornIn}} |classification=People |currentworks={{#external_value:currentworks}} |DnzClassification_raw={{#external_value:DnzClassification_raw}}|+sep=; |DnzNotes={{#external_value:DnzNotes}} |education={{#external_value:education}} |email={{#external_value:email}} |EmanationOf_raw={{#external_value:EmanationOf_raw}}|+sep=; |GyatsaBioEndFolio={{#external_value:GyatsaBioEndFolio}} |GyatsaBioEndPage={{#external_value:GyatsaBioEndPage}} |GyatsaBioStartFolio={{#external_value:GyatsaBioStartFolio}} |GyatsaBioStartPage={{#external_value:GyatsaBioStartPage}} |GyatsaBioTib={{#external_value:GyatsaBioTib}} |GyatsaBioWylie={{#external_value:GyatsaBioWylie}} |GyatsaNameTib={{#external_value:GyatsaNameTib}} |GyatsaNameWylie={{#external_value:GyatsaNameWylie}} |HarLink_raw={{#external_value:HarLink_raw}}|+sep=; |HasBnwPage={{#external_value:HasBnwPage}} |HasDnzPage={{#external_value:HasDnzPage}} |HasDrlPage={{#external_value:HasDrlPage}} |HasLibPage={{#external_value:HasLibPage}} |HasRtzPage={{#external_value:HasRtzPage}} |images={{#external_value:images}} |Incarnations_raw={{#external_value:Incarnations_raw}}|+sep=; |IsInGyatsa={{#external_value:IsInGyatsa}} |languageprimary_raw={{#external_value:languageprimary_raw}}|+sep=; |languagetarget_raw={{#external_value:languagetarget_raw}}|+sep=; |languagetranslation_raw={{#external_value:languagetranslation_raw}}|+sep=; |MainNamePhon={{#external_value:MainNamePhon}} |MainNameSkt={{#external_value:MainNameSkt}} |MainNameTib={{#external_value:MainNameTib}} |MainNameWylie={{#external_value:MainNameWylie}} |namealt_raw={{#external_value:namealt_raw}}|+sep=; |namefirst={{#external_value:namefirst}} |namelast={{#external_value:namelast}} |namelastpre={{#external_value:namelastpre}} |namemiddle={{#external_value:namemiddle}} |nameprefix={{#external_value:nameprefix}} |namesuffix={{#external_value:namesuffix}} |nametitlepre={{#external_value:nametitlepre}} |nametitlesuf={{#external_value:nametitlesuf}} |pagename={{#external_value:pagename}} |PersonalAffiliation_raw={{#external_value:PersonalAffiliation_raw}}|+sep=; |persontype_raw={{#external_value:persontype_raw}}|+sep=; |PersonType_raw={{#external_value:PersonType_raw}}|+sep=; |phduniversity={{#external_value:phduniversity}} |phone={{#external_value:phone}} |PosAllBuddha={{#external_value:PosAllBuddha}} |PosAllBuddhaMoreNotes={{#external_value:PosAllBuddhaMoreNotes}} |PosAllBuddhaNote={{#external_value:PosAllBuddhaNote}} |PosAnalyticMedit={{#external_value:PosAnalyticMedit}} |PosAnalyticMeditNotes={{#external_value:PosAnalyticMeditNotes}} |PosBuNayDefProv={{#external_value:PosBuNayDefProv}} |PosBuNayDefProvNotes={{#external_value:PosBuNayDefProvNotes}} |PosDefProv={{#external_value:PosDefProv}} |PosDefProvNotes={{#external_value:PosDefProvNotes}} |PosEmptyLumin={{#external_value:PosEmptyLumin}} |PosEmptyLuminNotes={{#external_value:PosEmptyLuminNotes}} |PosSvataPrasa={{#external_value:PosSvataPrasa}} |PosSvataPrasaNotes={{#external_value:PosSvataPrasaNotes}} |PosVajrapada={{#external_value:PosVajrapada}} |PosVehicles={{#external_value:PosVehicles}} |PosVehiclesNotes={{#external_value:PosVehiclesNotes}} |PosWheelTurn={{#external_value:PosWheelTurn}} |PosWheelTurnNotes={{#external_value:PosWheelTurnNotes}} |PosYogaMadhya={{#external_value:PosYogaMadhya}} |PosYogaMadhyaNotes={{#external_value:PosYogaMadhyaNotes}} |PosZhenRang={{#external_value:PosZhenRang}} |PosZhenRangNotes={{#external_value:PosZhenRangNotes}} |religiousaffiliation_raw={{#external_value:religiousaffiliation_raw}}|+sep=; |ReligiousAffiliation_raw={{#external_value:ReligiousAffiliation_raw}}|+sep=; |studentof_raw={{#external_value:studentof_raw}}|+sep=; |StudentOf_raw={{#external_value:StudentOf_raw}}|+sep=; |teacherof_raw={{#external_value:teacherof_raw}}|+sep=; |TeacherOf_raw={{#external_value:TeacherOf_raw}}|+sep=; |TertonNameTib_raw={{#external_value:TertonNameTib_raw}}|+sep=; |TertonNameWylie={{#external_value:TertonNameWylie}}|+sep=; |TibDateAnimal={{#external_value:TibDateAnimal}} |TibDateElement={{#external_value:TibDateElement}} |TibDateGender={{#external_value:TibDateGender}} |TibDateRabjung={{#external_value:TibDateRabjung}} |TolLink={{#external_value:TolLink}}|+sep=; |yearbirth={{#external_value:yearbirth}} |YearBirth={{#external_value:YearBirth}} |yeardeath={{#external_value:yeardeath}} |YearDeath={{#external_value:YearDeath}} }}{{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{#external_value: PersonType_raw }};{{#external_value: persontype_raw }};{{#external_value: MainNameWylie }}; |MakeCategories |; | }} <div style="clear: both;"></div> </includeonly>
Pre-requisite CSS[edit]
.person-white-box { margin-bottom: 30px; max-width: 900px; padding: 30px 50px 30px; float: left; } .person-depth-2 { -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15); box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15); } .person-infobox p {margin: 0;} .person-infobox dt { font-weight: 300; font-style: italic; color: #424242; margin-top: 7px; } .personInfoHeadings { width: 100%; font-style: italic; border-bottom: 1px solid #ea4100; margin-top: 13px; padding-bottom: 2px; margin-bottom: 5px; color: #424242; font-weight: 400; } .personTemplate th { text-align: right; font-style: italic; color: #424242; font-weight: 300; }