Template:PersonCall: Difference between revisions
From Khyentse Lineage - A Tsadra Foundation Project
m (Text replacement - "images-commons" to "images") |
((by SublimeText.Mediawiker)) |
||
Line 1: | Line 1: | ||
<includeonly | <includeonly>__NOTOC__{{ReplaceFirstHeading|}} | ||
<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: {{GetCommonsValue| MainNameDev }}{{GetCommonsValue| MainNameTib }} | | ||
<div class="mb-2 ">{{#if: {{ | <div class="mb-2 ">{{#if: {{GetCommonsValue| MainNameDev }} | {{GetCommonsValue| MainNameDev }} | {{GetCommonsValue| MainNameTib }} }} | ||
</div> | }} | </div> | }} | ||
<div>{{#if:{{ | <div>{{#if:{{GetCommonsValue| MainNamePhon }} | ||
| {{ | | {{GetCommonsValue| MainNamePhon }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| MainNameSkt }} | ||
| {{ | | {{GetCommonsValue| MainNameSkt }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| MainNameWylie }} | ||
| {{ | | {{GetCommonsValue| MainNameWylie }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| MainNameJap }} | ||
| {{ | | {{GetCommonsValue| MainNameJap }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| MainNameKor }} | ||
| {{ | | {{GetCommonsValue| MainNameKor }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| namelast }} | ||
| {{ | | {{GetCommonsValue| namefirst }} {{GetCommonsValue| namelast }} | ||
| | | | ||
}} | }} | ||
Line 27: | Line 23: | ||
}} | }} | ||
}} | }} | ||
}}{{#ifeq: {{ | }}{{#ifeq: {{GetCommonsValue|subclass}} | ||
| Modern | | Modern | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| yeardeath }} | ||
| <small class="d-inline-block grey-color pl-3">({{#time:Y|{{ | | <small class="d-inline-block grey-color pl-3">({{#time:Y|{{GetCommonsValue| yearbirth }}}} - {{#time:Y|{{GetCommonsValue| yeardeath }}}})</small> | ||
| | | | ||
}} | }} | ||
| {{#if: {{ | | {{#if: {{GetCommonsValue| yearbirth }}{{GetCommonsValue| yeardeath }}{{GetCommonsValue| bornin }}{{GetCommonsValue| TibDateAnimal }}{{GetCommonsValue| DatesNotes }} | ||
| <small class="d-inline-block grey-color pl-3">{{#if: {{ | | <small class="d-inline-block grey-color pl-3">{{#if: {{GetCommonsValue| yearbirth }} | ||
|{{#if: {{ | |{{#if: {{GetCommonsValue| yeardeath }} | ||
|({{ | |({{GetCommonsValue| yearbirth }} - {{GetCommonsValue| yeardeath }}) | ||
|(b. {{ | |(b. {{GetCommonsValue| yearbirth }} - ) | ||
}} | }} | ||
|{{#if: {{ | |{{#if: {{GetCommonsValue| yeardeath }} | ||
|( - d. {{ | |( - d. {{GetCommonsValue| yeardeath }}) | ||
| | | | ||
}} | }} | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsValue| bornin }}{{GetCommonsValue| TibDateAnimal }}{{GetCommonsValue| 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: {{GetCommonsValue| 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"> {{GetCommonsValue| bornin }}</div> | ||
| | | | ||
}}{{#if:{{ | }}{{#if:{{GetCommonsValue| 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: {{GetCommonsValue| TibDateDay }} | {{OrdNum|{{GetCommonsValue| TibDateDay }}}} day ,| }}{{#if: {{GetCommonsValue| TibDateMonth }} | {{OrdNum|{{GetCommonsValue| TibDateMonth }}}} month ,|}} Year of the {{GetCommonsValue| TibDateGender }} {{GetCommonsValue| TibDateElement }} {{GetCommonsValue| TibDateAnimal }}, {{OrdNum|{{GetCommonsValue| TibDateRabjung }}}} sexagenary cycle.</div> | ||
| | | | ||
}}{{#if:{{ | }}{{#if:{{GetCommonsValue| 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|{{GetCommonsValue| TibDateDeathDay }}}} day, {{OrdNum|{{GetCommonsValue| TibDateDeathMonth }}}} month, Year of the {{GetCommonsValue| TibDateDeathGender }} {{GetCommonsValue| TibDateDeathElement }} {{GetCommonsValue| TibDateDeathAnimal }}, {{OrdNum|{{GetCommonsValue| TibDateDeathRabjung }}}} sexagenary cycle.</div> | ||
| | | | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsValue| 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">{{GetCommonsValue| DatesNotes }}</div> | ||
| | | | ||
}} | }} | ||
Line 66: | Line 62: | ||
}} | }} | ||
</div> | </div> | ||
<div>{{#arraymap: {{#if: {{ | <div>{{#arraymap: {{#if: {{GetCommonsValue| MainNameDev }} | ||
| {{ | | {{GetCommonsValue| MainNameTib }} | ||
| | | | ||
}}; {{ | }}; {{GetCommonsValue| MainNameChi }}; {{GetCommonsValue| MainNameJap }}; {{GetCommonsValue| MainNameKor }} | ||
|; | |; | ||
|@@@ | |@@@ | ||
Line 77: | Line 73: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="link-no-border zoom-90">{{#if: {{ | <div class="link-no-border zoom-90">{{#if: {{GetCommonsValue| TolLinkRaw }} | ||
| [[File:TOLlogo.png|x35px|link={{ | | [[File:TOLlogo.png|x35px|link={{GetCommonsValue| TolLinkRaw }}|class=mr-1|The Treasury of Lives]] | ||
| | | | ||
}}{{#ifeq: {{ | }}{{#ifeq: {{GetCommonsValue| 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: {{GetCommonsValue| 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: {{GetCommonsValue| BdrcLink }} | ||
| [[File:BdrcLogo.png|x30px|link={{ | | [[File:BdrcLogo.png|x30px|link={{GetCommonsValue| BdrcLink }}|class=mr-3|Buddhist Digital Resource Center]] | ||
| | | | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsValue| HarLinkRaw }} | ||
| [[File:Har logo blocks@2x.png|x30px|link={{ | | [[File:Har logo blocks@2x.png|x30px|link={{GetCommonsValue| HarLinkRaw }}|class=mr-2|Himalayan Art Resources]] | ||
| | | | ||
}} | }} | ||
Line 100: | 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: {{GetCommonsValue|FirstImage}} | ||
| {{#ifeq: {{ | | {{#ifeq: {{GetCommonsValue|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:{{GetCommonsValue|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: {{GetCommonsValue|FirstImage}} | ||
| {{#ifeq: {{ | | {{#ifeq: {{GetCommonsValue|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:{{GetCommonsValue|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 118: | Line 114: | ||
|size=250px | |size=250px | ||
|depth=3 m-auto | |depth=3 m-auto | ||
|linkclasses={{#ifeq: {{ | |linkclasses={{#ifeq: {{GetCommonsValue|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 | ||
|{{ | |{{GetCommonsValue|ImagesRaw}} | ||
|; | |; | ||
}}{{#arrayslice:personImagesNotFirst | }}{{#arrayslice:personImagesNotFirst | ||
Line 143: | 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: {{GetCommonsValue| tolExcerpt }} | | ||
{{ | {{GetCommonsValue| 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={{GetCommonsValue| TolLinkRaw }}|class=px-3 py-1 grey-hoverlay|The Treasury of Lives]]</span> | {{#if: {{GetCommonsValue| BnwShortPersonBio }} | {{GetCommonsValue| BnwShortPersonBio }} | {{#if: {{GetCommonsValue| bio }} | {{GetCommonsValue| bio }} | {{#if: {{GetCommonsValue| BiographicalInfo }} | {{GetCommonsValue| BiographicalInfo }} | }} }} }} }} | ||
}} | }} | ||
</div> | </div> | ||
Line 154: | Line 150: | ||
{{GetGyatsaBio}} | {{GetGyatsaBio}} | ||
{{#set: | {{#set: | ||
|addresslocation={{ | |addresslocation={{GetCommonsValue|addresslocation}} | ||
|affiliationRaw={{ | |affiliationRaw={{GetCommonsValue|affiliationRaw}} | ||
|affiliationsecondaryRaw={{ | |affiliationsecondaryRaw={{GetCommonsValue|affiliationsecondaryRaw}} | ||
|AltNamesOtherRaw={{ | |AltNamesOtherRaw={{GetCommonsValue|AltNamesOtherRaw}} | ||
|AltNamesTibRaw={{ | |AltNamesTibRaw={{GetCommonsValue|AltNamesTibRaw}} | ||
|AltNamesWylieRaw={{ | |AltNamesWylieRaw={{GetCommonsValue|AltNamesWylieRaw}} | ||
|archivistnotes={{ | |archivistnotes={{GetCommonsValue|archivistnotes}} | ||
|associatedwebsiteRaw={{ | |associatedwebsiteRaw={{GetCommonsValue|associatedwebsiteRaw}} | ||
|BdrcLink={{ | |BdrcLink={{GetCommonsValue|BdrcLink}} | ||
|BdrcPnum={{ | |BdrcPnum={{GetCommonsValue|BdrcPnum}} | ||
|bio={{ | |bio={{GetCommonsValue|bio}} | ||
|BiographicalInfo={{ | |BiographicalInfo={{GetCommonsValue|BiographicalInfo}} | ||
|BnwShortPersonBio={{ | |BnwShortPersonBio={{GetCommonsValue|BnwShortPersonBio}} | ||
|bornin={{ | |bornin={{GetCommonsValue|bornin}} | ||
|ClassicalOtherProfAff={{ | |ClassicalOtherProfAff={{GetCommonsValue|ClassicalOtherProfAff}} | ||
|ClassicalProfAff={{ | |ClassicalProfAff={{GetCommonsValue|ClassicalProfAff}} | ||
|classification={{ | |classification={{GetCommonsValue|classification}} | ||
|People={{ | |People={{GetCommonsValue|People}} | ||
|currentworks={{ | |currentworks={{GetCommonsValue|currentworks}} | ||
|cv={{ | |cv={{GetCommonsValue|cv}} | ||
|DatesNotes={{ | |DatesNotes={{GetCommonsValue|DatesNotes}} | ||
|education={{ | |education={{GetCommonsValue|education}} | ||
|email={{ | |email={{GetCommonsValue|email}} | ||
|EmanationOfRaw={{ | |EmanationOfRaw={{GetCommonsValue|EmanationOfRaw}} | ||
|FirstImage={{ | |FirstImage={{GetCommonsValue|FirstImage}} | ||
|FirstImageURL={{ | |FirstImageURL={{GetCommonsValue|FirstImageURL}} | ||
|HarLinkRaw={{ | |HarLinkRaw={{GetCommonsValue|HarLinkRaw}} | ||
|HasBnwPage={{ | |HasBnwPage={{GetCommonsValue|HasBnwPage}} | ||
|HasDnzPage={{ | |HasDnzPage={{GetCommonsValue|HasDnzPage}} | ||
|HasDrlPage={{ | |HasDrlPage={{GetCommonsValue|HasDrlPage}} | ||
|HasLibPage={{ | |HasLibPage={{GetCommonsValue|HasLibPage}} | ||
|HasRtzPage={{ | |HasRtzPage={{GetCommonsValue|HasRtzPage}} | ||
|images={{ | |images={{GetCommonsValue|images}} | ||
|ImagesRaw={{ | |ImagesRaw={{GetCommonsValue|ImagesRaw}} | ||
|IncarnationsRaw={{ | |IncarnationsRaw={{GetCommonsValue|IncarnationsRaw}} | ||
|languageprimaryRaw={{ | |languageprimaryRaw={{GetCommonsValue|languageprimaryRaw}} | ||
|languagetargetRaw={{ | |languagetargetRaw={{GetCommonsValue|languagetargetRaw}} | ||
|languagetranslationRaw={{ | |languagetranslationRaw={{GetCommonsValue|languagetranslationRaw}} | ||
|MainNameChi={{ | |MainNameChi={{GetCommonsValue|MainNameChi}} | ||
|MainNameDev={{ | |MainNameDev={{GetCommonsValue|MainNameDev}} | ||
|MainNameJap={{ | |MainNameJap={{GetCommonsValue|MainNameJap}} | ||
|MainNameJapTranslit={{ | |MainNameJapTranslit={{GetCommonsValue|MainNameJapTranslit}} | ||
|MainNameKor={{ | |MainNameKor={{GetCommonsValue|MainNameKor}} | ||
|MainNameKorTranslit={{ | |MainNameKorTranslit={{GetCommonsValue|MainNameKorTranslit}} | ||
|MainNamePhon={{ | |MainNamePhon={{GetCommonsValue|MainNamePhon}} | ||
|MainNamePin={{ | |MainNamePin={{GetCommonsValue|MainNamePin}} | ||
|MainNameSkt={{ | |MainNameSkt={{GetCommonsValue|MainNameSkt}} | ||
|MainNameTib={{ | |MainNameTib={{GetCommonsValue|MainNameTib}} | ||
|MainNameWylie={{ | |MainNameWylie={{GetCommonsValue|MainNameWylie}} | ||
|namealtRaw={{ | |namealtRaw={{GetCommonsValue|namealtRaw}} | ||
|namefirst={{ | |namefirst={{GetCommonsValue|namefirst}} | ||
|namelast={{ | |namelast={{GetCommonsValue|namelast}} | ||
|namelastpre={{ | |namelastpre={{GetCommonsValue|namelastpre}} | ||
|namemiddle={{ | |namemiddle={{GetCommonsValue|namemiddle}} | ||
|nameprefix={{ | |nameprefix={{GetCommonsValue|nameprefix}} | ||
|namesuffix={{ | |namesuffix={{GetCommonsValue|namesuffix}} | ||
|nametitlepre={{ | |nametitlepre={{GetCommonsValue|nametitlepre}} | ||
|nametitlesuf={{ | |nametitlesuf={{GetCommonsValue|nametitlesuf}} | ||
|NotesOnNames={{ | |NotesOnNames={{GetCommonsValue|NotesOnNames}} | ||
|PersonalAffiliationRaw={{ | |PersonalAffiliationRaw={{GetCommonsValue|PersonalAffiliationRaw}} | ||
|PersonType={{ | |PersonType={{GetCommonsValue|PersonType}} | ||
|phduniversity={{ | |phduniversity={{GetCommonsValue|phduniversity}} | ||
|phone={{ | |phone={{GetCommonsValue|phone}} | ||
|publications={{ | |publications={{GetCommonsValue|publications}} | ||
|religiousaffiliationRaw={{ | |religiousaffiliationRaw={{GetCommonsValue|religiousaffiliationRaw}} | ||
|SortName={{ | |SortName={{GetCommonsValue|SortName}} | ||
|studentofRaw={{ | |studentofRaw={{GetCommonsValue|studentofRaw}} | ||
|subclass={{ | |subclass={{GetCommonsValue|subclass}} | ||
|teacherofRaw={{ | |teacherofRaw={{GetCommonsValue|teacherofRaw}} | ||
|TertonNameTibRaw={{ | |TertonNameTibRaw={{GetCommonsValue|TertonNameTibRaw}} | ||
|TertonNameWylieRaw={{ | |TertonNameWylieRaw={{GetCommonsValue|TertonNameWylieRaw}} | ||
|TibDateAnimal={{ | |TibDateAnimal={{GetCommonsValue|TibDateAnimal}} | ||
|TibDateDay={{ | |TibDateDay={{GetCommonsValue|TibDateDay}} | ||
|TibDateDeathAnimal={{ | |TibDateDeathAnimal={{GetCommonsValue|TibDateDeathAnimal}} | ||
|TibDateDeathDay={{ | |TibDateDeathDay={{GetCommonsValue|TibDateDeathDay}} | ||
|TibDateDeathElement={{ | |TibDateDeathElement={{GetCommonsValue|TibDateDeathElement}} | ||
|TibDateDeathGender={{ | |TibDateDeathGender={{GetCommonsValue|TibDateDeathGender}} | ||
|TibDateDeathMonth={{ | |TibDateDeathMonth={{GetCommonsValue|TibDateDeathMonth}} | ||
|TibDateDeathRabjung={{ | |TibDateDeathRabjung={{GetCommonsValue|TibDateDeathRabjung}} | ||
|TibDateElement={{ | |TibDateElement={{GetCommonsValue|TibDateElement}} | ||
|TibDateGender={{ | |TibDateGender={{GetCommonsValue|TibDateGender}} | ||
|TibDateMonth={{ | |TibDateMonth={{GetCommonsValue|TibDateMonth}} | ||
|TibDateRabjung={{ | |TibDateRabjung={{GetCommonsValue|TibDateRabjung}} | ||
|tolExcerpt={{ | |tolExcerpt={{GetCommonsValue|tolExcerpt}} | ||
|TolLinkRaw={{ | |TolLinkRaw={{GetCommonsValue|TolLinkRaw}} | ||
|yearbirth={{ | |yearbirth={{GetCommonsValue|yearbirth}} | ||
|yeardeath={{ | |yeardeath={{GetCommonsValue|yeardeath}} | ||
|DeityType={{ | |DeityType={{GetCommonsValue|DeityType}} | ||
|DeityFormType={{ | |DeityFormType={{GetCommonsValue|DeityFormType}} | ||
}}{{#if: {{ | }}{{#if: {{GetCommonsValue|DeityType}}{{GetCommonsValue|DeityFormType}} | ||
|[[Category:Deities]] | |[[Category:Deities]] | ||
|[[Category:People]] | |[[Category:People]] | ||
}}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> | }}</includeonly><noinclude>[[Category:Custom Templates]]</noinclude> |