Template:PersonCall: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 2: | Line 2: | ||
<div class="h2 mt-5 d-md-flex justify-content-between align-items-end no-after-display"> | <div class="h2 mt-5 d-md-flex justify-content-between align-items-end no-after-display"> | ||
<div class="mr-2">{{#if: {{ | <div class="mr-2">{{#if: {{GetCommonsData| MainNameDev }}{{GetCommonsData| MainNameTib }} | | ||
<div class="mb-2 ">{{#if: {{ | <div class="mb-2 ">{{#if: {{GetCommonsData| MainNameDev }} | {{GetCommonsData| MainNameDev }} | {{GetCommonsData| MainNameTib }} }} | ||
</div> | }} | </div> | }} | ||
<div>{{#if:{{ | <div>{{#if:{{GetCommonsData| MainNamePhon }} | ||
| {{ | | {{GetCommonsData| MainNamePhon }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| MainNameSkt }} | ||
| {{ | | {{GetCommonsData| MainNameSkt }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| MainNameWylie }} | ||
| {{ | | {{GetCommonsData| MainNameWylie }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| MainNameJap }} | ||
| {{ | | {{GetCommonsData| MainNameJap }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| MainNameKor }} | ||
| {{ | | {{GetCommonsData| MainNameKor }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| namelast }} | ||
| {{ | | {{GetCommonsData| namefirst }} {{GetCommonsData| namelast }} | ||
| | | | ||
}} | }} | ||
Line 23: | Line 23: | ||
}} | }} | ||
}} | }} | ||
}}{{#ifeq: {{ | }}{{#ifeq: {{GetCommonsData|subclass}} | ||
| Modern | | Modern | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| yeardeath }} | ||
| <small class="d-inline-block grey-color pl-3">({{#time:Y|{{ | | <small class="d-inline-block grey-color pl-3">({{#time:Y|{{GetCommonsData| yearbirth }}}} - {{#time:Y|{{GetCommonsData| yeardeath }}}})</small> | ||
| | | | ||
}} | }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| yearbirth }}{{GetCommonsData| yeardeath }}{{GetCommonsData| bornin }}{{GetCommonsData| TibDateAnimal }}{{GetCommonsData| DatesNotes }} | ||
| <small class="d-inline-block grey-color pl-3">{{#if: {{ | | <small class="d-inline-block grey-color pl-3">{{#if: {{GetCommonsData| yearbirth }} | ||
|{{#if: {{ | |{{#if: {{GetCommonsData| yeardeath }} | ||
|({{ | |({{GetCommonsData| yearbirth }} - {{GetCommonsData| yeardeath }}) | ||
|(b. {{ | |(b. {{GetCommonsData| yearbirth }} - ) | ||
}} | }} | ||
|{{#if: {{ | |{{#if: {{GetCommonsData| yeardeath }} | ||
|( - d. {{ | |( - d. {{GetCommonsData| yeardeath }}) | ||
| | | | ||
}} | }} | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsData| bornin }}{{GetCommonsData| TibDateAnimal }}{{GetCommonsData| DatesNotes }} | ||
| {{Tooltip | | {{Tooltip | ||
|text=<i class="fad fa-info-circle" style="font-size: .5em;"></i> | |text=<i class="fad fa-info-circle" style="font-size: .5em;"></i> | ||
|content={{#if: {{ | |content={{#if: {{GetCommonsData| bornin }} | ||
| <div class="px-3 py-2">'''Born in:''' <hr class="mt-1 mb-2"> {{ | | <div class="px-3 py-2">'''Born in:''' <hr class="mt-1 mb-2"> {{GetCommonsData| bornin }}</div> | ||
| | | | ||
}}{{#if:{{ | }}{{#if:{{GetCommonsData| TibDateAnimal }} | ||
| <div class="px-3 py-2">'''Tibetan date of birth:''' <hr class="mt-1 mb-2"> {{#if: {{ | | <div class="px-3 py-2">'''Tibetan date of birth:''' <hr class="mt-1 mb-2"> {{#if: {{GetCommonsData| TibDateDay }} | {{OrdNum|{{GetCommonsData| TibDateDay }}}} day ,| }}{{#if: {{GetCommonsData| TibDateMonth }} | {{OrdNum|{{GetCommonsData| TibDateMonth }}}} month ,|}} Year of the {{GetCommonsData| TibDateGender }} {{GetCommonsData| TibDateElement }} {{GetCommonsData| TibDateAnimal }}, {{OrdNum|{{GetCommonsData| TibDateRabjung }}}} sexagenary cycle.</div> | ||
| | | | ||
}}{{#if:{{ | }}{{#if:{{GetCommonsData| TibDateDeathAnimal }} | ||
| <div class="px-3 py-2">'''Tibetan date of passing:''' <hr class="mt-1 mb-2"> {{OrdNum|{{ | | <div class="px-3 py-2">'''Tibetan date of passing:''' <hr class="mt-1 mb-2"> {{OrdNum|{{GetCommonsData| TibDateDeathDay }}}} day, {{OrdNum|{{GetCommonsData| TibDateDeathMonth }}}} month, Year of the {{GetCommonsData| TibDateDeathGender }} {{GetCommonsData| TibDateDeathElement }} {{GetCommonsData| TibDateDeathAnimal }}, {{OrdNum|{{GetCommonsData| TibDateDeathRabjung }}}} sexagenary cycle.</div> | ||
| | | | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsData| DatesNotes }} | ||
| <div class="px-3 py-2">'''Notes on dates:'''<hr class="mt-1 mb-2">{{ | | <div class="px-3 py-2">'''Notes on dates:'''<hr class="mt-1 mb-2">{{GetCommonsData| DatesNotes }}</div> | ||
| | | | ||
}} | }} | ||
Line 62: | Line 62: | ||
}} | }} | ||
</div> | </div> | ||
<div>{{#arraymap: {{#if: {{ | <div>{{#arraymap: {{#if: {{GetCommonsData| MainNameDev }} | ||
| {{ | | {{GetCommonsData| MainNameTib }} | ||
| | | | ||
}}; {{ | }}; {{GetCommonsData| MainNameChi }}; {{GetCommonsData| MainNameJap }}; {{GetCommonsData| MainNameKor }} | ||
|; | |; | ||
|@@@ | |@@@ | ||
Line 73: | Line 73: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="link-no-border zoom-90">{{#if: {{ | <div class="link-no-border zoom-90">{{#if: {{GetCommonsData| TolLinkRaw }} | ||
| [[File:TOLlogo.png|x35px|link={{ | | [[File:TOLlogo.png|x35px|link={{GetCommonsData| TolLinkRaw }}|class=mr-1|The Treasury of Lives]] | ||
| | | | ||
}}{{#ifeq: {{ | }}{{#ifeq: {{GetCommonsData| HasRtzPage }} | true | ||
| [[File:RtzLinkLogo.png|x35px|link=http://rtz.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-3 border|Rinchen Terdzö Chenmo]] | | [[File:RtzLinkLogo.png|x35px|link=http://rtz.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-3 border|Rinchen Terdzö Chenmo]] | ||
| | | | ||
}}{{#ifeq: {{ | }}{{#ifeq: {{GetCommonsData| HasDnzPage }} | true | ||
| [[File:DnzLinkLogo.png|x35px|link=http://dnz.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-3 border|Damngak Rinpoché Dzö]] | | [[File:DnzLinkLogo.png|x35px|link=http://dnz.tsadra.org/index.php/{{SUBPAGENAMEE}}|class=mr-3 border|Damngak Rinpoché Dzö]] | ||
| | | | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsData| BdrcLink }} | ||
| [[File:BdrcLogo.png|x30px|link={{ | | [[File:BdrcLogo.png|x30px|link={{GetCommonsData| BdrcLink }}|class=mr-3|Buddhist Digital Resource Center]] | ||
| | | | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsData| HarLinkRaw }} | ||
| [[File:Har logo blocks@2x.png|x30px|link={{ | | [[File:Har logo blocks@2x.png|x30px|link={{GetCommonsData| HarLinkRaw }}|class=mr-2|Himalayan Art Resources]] | ||
| | | | ||
}} | }} | ||
Line 96: | Line 96: | ||
<div class="bnw-person-image mx-2 mb-5 position-relative"> | <div class="bnw-person-image mx-2 mb-5 position-relative"> | ||
{{#widget:RoundFancyboxImage | {{#widget:RoundFancyboxImage | ||
|filepath={{#if: {{ | |filepath={{#if: {{GetCommonsData|FirstImage}} | ||
| {{#ifeq: {{ | | {{#ifeq: {{GetCommonsData|FirstImage}} | ||
| File:Noimagefound.jpg | | File:Noimagefound.jpg | ||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | | https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
| {{filepath:{{#titleparts:{{PAGENAME:{{ | | {{filepath:{{#titleparts:{{PAGENAME:{{GetCommonsData|FirstImage}}}}}}|300}} | ||
}} | }} | ||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | | https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
}} | }} | ||
|fullimage={{#if: {{ | |fullimage={{#if: {{GetCommonsData|FirstImage}} | ||
| {{#ifeq: {{ | | {{#ifeq: {{GetCommonsData|FirstImage}} | ||
| File:Noimagefound.jpg | | File:Noimagefound.jpg | ||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | | https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
| {{filepath:{{#titleparts:{{PAGENAME:{{ | | {{filepath:{{#titleparts:{{PAGENAME:{{GetCommonsData|FirstImage}}}}}}}} | ||
}} | }} | ||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | | https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
Line 114: | Line 114: | ||
|size=250px | |size=250px | ||
|depth=3 m-auto | |depth=3 m-auto | ||
|linkclasses={{#ifeq: {{ | |linkclasses={{#ifeq: {{GetCommonsData|FirstImage}} | File:Noimagefound.jpg | d-none | }} | ||
}} | }} | ||
</div> | </div> | ||
<div class="text-center link-no-border mt-3 mb-4">{{#arraydefine:personImages | <div class="text-center link-no-border mt-3 mb-4">{{#arraydefine:personImages | ||
|{{ | |{{GetCommonsData|ImagesRaw}} | ||
|; | |; | ||
}}{{#arrayslice:personImagesNotFirst | }}{{#arrayslice:personImagesNotFirst | ||
Line 139: | Line 139: | ||
<div class="col-lg-8 person-page-text">{{#if: {{{ description | }}} | <div class="col-lg-8 person-page-text">{{#if: {{{ description | }}} | ||
| {{{ description | }}} | | {{{ description | }}} | ||
| {{#if: {{ | | {{#if: {{GetCommonsData| tolExcerpt }} | | ||
{{ | {{GetCommonsData| tolExcerpt }}<br> | ||
<span class="float-right link-no-border pt-3">... read more at [[File:TOLlogo.png|x45px|link={{ | <span class="float-right link-no-border pt-3">... read more at [[File:TOLlogo.png|x45px|link={{GetCommonsData| TolLinkRaw }}|class=px-3 py-1 grey-hoverlay|The Treasury of Lives]]</span> | {{#if: {{GetCommonsData| BnwShortPersonBio }} | {{GetCommonsData| BnwShortPersonBio }} | {{#if: {{GetCommonsData| bio }} | {{GetCommonsData| bio }} | {{#if: {{GetCommonsData| BiographicalInfo }} | {{GetCommonsData| BiographicalInfo }} | }} }} }} }} | ||
}} | }} | ||
</div> | </div> | ||
Line 150: | Line 150: | ||
{{GetGyatsaBio}} | {{GetGyatsaBio}} | ||
{{#set: | {{#set: | ||
|addresslocation={{ | |addresslocation={{GetCommonsData|addresslocation}} | ||
|affiliationRaw={{ | |affiliationRaw={{GetCommonsData|affiliationRaw}} | ||
|affiliationsecondaryRaw={{ | |affiliationsecondaryRaw={{GetCommonsData|affiliationsecondaryRaw}} | ||
|AltNamesOtherRaw={{ | |AltNamesOtherRaw={{GetCommonsData|AltNamesOtherRaw}} | ||
|AltNamesTibRaw={{ | |AltNamesTibRaw={{GetCommonsData|AltNamesTibRaw}} | ||
|AltNamesWylieRaw={{ | |AltNamesWylieRaw={{GetCommonsData|AltNamesWylieRaw}} | ||
|archivistnotes={{ | |archivistnotes={{GetCommonsData|archivistnotes}} | ||
|associatedwebsiteRaw={{ | |associatedwebsiteRaw={{GetCommonsData|associatedwebsiteRaw}} | ||
|BdrcLink={{ | |BdrcLink={{GetCommonsData|BdrcLink}} | ||
|BdrcPnum={{ | |BdrcPnum={{GetCommonsData|BdrcPnum}} | ||
|bio={{ | |bio={{GetCommonsData|bio}} | ||
|BiographicalInfo={{ | |BiographicalInfo={{GetCommonsData|BiographicalInfo}} | ||
|BnwShortPersonBio={{ | |BnwShortPersonBio={{GetCommonsData|BnwShortPersonBio}} | ||
|bornin={{ | |bornin={{GetCommonsData|bornin}} | ||
|ClassicalOtherProfAff={{ | |ClassicalOtherProfAff={{GetCommonsData|ClassicalOtherProfAff}} | ||
|ClassicalProfAff={{ | |ClassicalProfAff={{GetCommonsData|ClassicalProfAff}} | ||
|classification={{ | |classification={{GetCommonsData|classification}} | ||
|People={{ | |People={{GetCommonsData|People}} | ||
|currentworks={{ | |currentworks={{GetCommonsData|currentworks}} | ||
|cv={{ | |cv={{GetCommonsData|cv}} | ||
|DatesNotes={{ | |DatesNotes={{GetCommonsData|DatesNotes}} | ||
|education={{ | |education={{GetCommonsData|education}} | ||
|email={{ | |email={{GetCommonsData|email}} | ||
|EmanationOfRaw={{ | |EmanationOfRaw={{GetCommonsData|EmanationOfRaw}} | ||
|FirstImage={{ | |FirstImage={{GetCommonsData|FirstImage}} | ||
|FirstImageURL={{ | |FirstImageURL={{GetCommonsData|FirstImageURL}} | ||
|HarLinkRaw={{ | |HarLinkRaw={{GetCommonsData|HarLinkRaw}} | ||
|HasBnwPage={{ | |HasBnwPage={{GetCommonsData|HasBnwPage}} | ||
|HasDnzPage={{ | |HasDnzPage={{GetCommonsData|HasDnzPage}} | ||
|HasDrlPage={{ | |HasDrlPage={{GetCommonsData|HasDrlPage}} | ||
|HasLibPage={{ | |HasLibPage={{GetCommonsData|HasLibPage}} | ||
|HasRtzPage={{ | |HasRtzPage={{GetCommonsData|HasRtzPage}} | ||
|images={{ | |images={{GetCommonsData|images}} | ||
|ImagesRaw={{ | |ImagesRaw={{GetCommonsData|ImagesRaw}} | ||
|IncarnationsRaw={{ | |IncarnationsRaw={{GetCommonsData|IncarnationsRaw}} | ||
|languageprimaryRaw={{ | |languageprimaryRaw={{GetCommonsData|languageprimaryRaw}} | ||
|languagetargetRaw={{ | |languagetargetRaw={{GetCommonsData|languagetargetRaw}} | ||
|languagetranslationRaw={{ | |languagetranslationRaw={{GetCommonsData|languagetranslationRaw}} | ||
|MainNameChi={{ | |MainNameChi={{GetCommonsData|MainNameChi}} | ||
|MainNameDev={{ | |MainNameDev={{GetCommonsData|MainNameDev}} | ||
|MainNameJap={{ | |MainNameJap={{GetCommonsData|MainNameJap}} | ||
|MainNameJapTranslit={{ | |MainNameJapTranslit={{GetCommonsData|MainNameJapTranslit}} | ||
|MainNameKor={{ | |MainNameKor={{GetCommonsData|MainNameKor}} | ||
|MainNameKorTranslit={{ | |MainNameKorTranslit={{GetCommonsData|MainNameKorTranslit}} | ||
|MainNamePhon={{ | |MainNamePhon={{GetCommonsData|MainNamePhon}} | ||
|MainNamePin={{ | |MainNamePin={{GetCommonsData|MainNamePin}} | ||
|MainNameSkt={{ | |MainNameSkt={{GetCommonsData|MainNameSkt}} | ||
|MainNameTib={{ | |MainNameTib={{GetCommonsData|MainNameTib}} | ||
|MainNameWylie={{ | |MainNameWylie={{GetCommonsData|MainNameWylie}} | ||
|namealtRaw={{ | |namealtRaw={{GetCommonsData|namealtRaw}} | ||
|namefirst={{ | |namefirst={{GetCommonsData|namefirst}} | ||
|namelast={{ | |namelast={{GetCommonsData|namelast}} | ||
|namelastpre={{ | |namelastpre={{GetCommonsData|namelastpre}} | ||
|namemiddle={{ | |namemiddle={{GetCommonsData|namemiddle}} | ||
|nameprefix={{ | |nameprefix={{GetCommonsData|nameprefix}} | ||
|namesuffix={{ | |namesuffix={{GetCommonsData|namesuffix}} | ||
|nametitlepre={{ | |nametitlepre={{GetCommonsData|nametitlepre}} | ||
|nametitlesuf={{ | |nametitlesuf={{GetCommonsData|nametitlesuf}} | ||
|NotesOnNames={{ | |NotesOnNames={{GetCommonsData|NotesOnNames}} | ||
|PersonalAffiliationRaw={{ | |PersonalAffiliationRaw={{GetCommonsData|PersonalAffiliationRaw}} | ||
|PersonType={{ | |PersonType={{GetCommonsData|PersonType}} | ||
|phduniversity={{ | |phduniversity={{GetCommonsData|phduniversity}} | ||
|phone={{ | |phone={{GetCommonsData|phone}} | ||
|publications={{ | |publications={{GetCommonsData|publications}} | ||
|religiousaffiliationRaw={{ | |religiousaffiliationRaw={{GetCommonsData|religiousaffiliationRaw}} | ||
|SortName={{ | |SortName={{GetCommonsData|SortName}} | ||
|studentofRaw={{ | |studentofRaw={{GetCommonsData|studentofRaw}} | ||
|subclass={{ | |subclass={{GetCommonsData|subclass}} | ||
|teacherofRaw={{ | |teacherofRaw={{GetCommonsData|teacherofRaw}} | ||
|TertonNameTibRaw={{ | |TertonNameTibRaw={{GetCommonsData|TertonNameTibRaw}} | ||
|TertonNameWylieRaw={{ | |TertonNameWylieRaw={{GetCommonsData|TertonNameWylieRaw}} | ||
|TibDateAnimal={{ | |TibDateAnimal={{GetCommonsData|TibDateAnimal}} | ||
|TibDateDay={{ | |TibDateDay={{GetCommonsData|TibDateDay}} | ||
|TibDateDeathAnimal={{ | |TibDateDeathAnimal={{GetCommonsData|TibDateDeathAnimal}} | ||
|TibDateDeathDay={{ | |TibDateDeathDay={{GetCommonsData|TibDateDeathDay}} | ||
|TibDateDeathElement={{ | |TibDateDeathElement={{GetCommonsData|TibDateDeathElement}} | ||
|TibDateDeathGender={{ | |TibDateDeathGender={{GetCommonsData|TibDateDeathGender}} | ||
|TibDateDeathMonth={{ | |TibDateDeathMonth={{GetCommonsData|TibDateDeathMonth}} | ||
|TibDateDeathRabjung={{ | |TibDateDeathRabjung={{GetCommonsData|TibDateDeathRabjung}} | ||
|TibDateElement={{ | |TibDateElement={{GetCommonsData|TibDateElement}} | ||
|TibDateGender={{ | |TibDateGender={{GetCommonsData|TibDateGender}} | ||
|TibDateMonth={{ | |TibDateMonth={{GetCommonsData|TibDateMonth}} | ||
|TibDateRabjung={{ | |TibDateRabjung={{GetCommonsData|TibDateRabjung}} | ||
|tolExcerpt={{ | |tolExcerpt={{GetCommonsData|tolExcerpt}} | ||
|TolLinkRaw={{ | |TolLinkRaw={{GetCommonsData|TolLinkRaw}} | ||
|yearbirth={{ | |yearbirth={{GetCommonsData|yearbirth}} | ||
|yeardeath={{ | |yeardeath={{GetCommonsData|yeardeath}} | ||
|DeityType={{ | |DeityType={{GetCommonsData|DeityType}} | ||
|DeityFormType={{ | |DeityFormType={{GetCommonsData|DeityFormType}} | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsData|DeityType}}{{GetCommonsData|DeityFormType}} | ||
|[[Category:Deities]] | |[[Category:Deities]] | ||
|[[Category:People]] | |[[Category:People]] | ||
}}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> | }}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> |