Template:PersonCall: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(22 intermediate revisions by the same user not shown) | |||
Line 36: | Line 36: | ||
</div> | </div> | ||
<div class="row mt-4"> | <div class="row mt-4">{{#if: {{GetPersonValue|prop=FirstImage}} | | ||
<div class="col-lg-4 p-0"> | <div class="col-lg-4 p-0"> | ||
<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={{# | |filepath={{#ifeq: {{GetPersonValue|prop=FirstImage}} | ||
| File:Noimagefound.jpg | |||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | |||
| {{filepath:{{#titleparts:{{PAGENAME:{{GetPersonValue|prop=FirstImage}}}}}}|300}} | |||
}} | }} | ||
|fullimage={{# | |fullimage={{#ifeq: {{GetPersonValue|prop=FirstImage}} | ||
| File:Noimagefound.jpg | |||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | |||
| {{filepath:{{#titleparts:{{PAGENAME:{{GetPersonValue|prop=FirstImage}}}}}}}} | |||
}} | }} | ||
|size=250px | |size=250px | ||
Line 85: | Line 79: | ||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | }} | ||
<div class="col-lg-8 person-page-text">{{#if: {{{ description | }}} | <div class="col-lg-8 person-page-text">{{#if: {{{ description | }}} | ||
| {{{ description | }}} | | {{{ description | }}} | ||
Line 111: | Line 105: | ||
</div> | </div> | ||
</div> | </div> | ||
<div class="h3">Tertön Gyatsa Information from the Rinchen Terdzö</div> | <div class="h3">Tertön Gyatsa Information from the Rinchen Terdzö</div> | ||
Line 137: | Line 132: | ||
<headertabs/> | <headertabs/> | ||
{{#invoke:GetWorks|cycles}} | |||
<h3><span id="TotalCount"></span> Works</h3> | |||
<div class="px-5 mb-4">{{#widget:filterInput}}</div><div class="filterableContent"> | |||
{{#ask:[[Category:Tibetan Texts]][[Category:{{PAGENAME}}]]OR[[Category:Illustrations]][[Category:{{PAGENAME}}]] | |||
|?Fulltitletib | |||
|?Volumenumber | |||
|?Textnuminvol | |||
|?Fulltitle | |||
|limit=10000 | |||
|link=none | |||
|sort=Volumenumber,Textnuminvol | |||
|order=asc,asc | |||
|format=template | |||
|template=PersonTexts | |||
|@deferred | |||
}} | |||
</div> | |||
{{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{GetPersonValue|prop=PersonTypeRaw }};{{GetPersonValue|prop=MainNameWylie }};{{#if:{{#ask:[[Category:Tibetan Texts]][[sourcerevealer::{{PAGENAME}}]]}}|Tertons|}} | {{#arraymaptemplate:{{#titleparts:{{FULLPAGENAME}}}};People;{{GetPersonValue|prop=PersonTypeRaw }};{{GetPersonValue|prop=MainNameWylie }};{{#if:{{#ask:[[Category:Tibetan Texts]][[sourcerevealer::{{PAGENAME}}]]}}|Tertons|}} | ||
Line 142: | Line 158: | ||
|; | |; | ||
| | | | ||
}} | }}{{#set: | ||
{{#set: | |||
|addresslocation={{GetPersonValue|prop=addresslocation}} | |addresslocation={{GetPersonValue|prop=addresslocation}} | ||
|affiliationRaw={{GetPersonValue|prop=affiliationRaw}}|+sep=; | |affiliationRaw={{GetPersonValue|prop=affiliationRaw}}|+sep=; | ||
Line 235: | Line 249: | ||
|yearbirth={{GetPersonValue|prop=yearbirth}} | |yearbirth={{GetPersonValue|prop=yearbirth}} | ||
|yeardeath={{GetPersonValue|prop=yeardeath}} | |yeardeath={{GetPersonValue|prop=yeardeath}} | ||
}} | }}</includeonly> | ||
</includeonly> |