Template:PersonCall: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) Tag: Manual revert |
((by SublimeText.Mediawiker)) |
||
(11 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 | | 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 | | 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 141: | Line 135: | ||
{{#invoke:GetWorks|cycles}} | {{#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 147: | Line 158: | ||
|; | |; | ||
| | | | ||
}} | }}{{#set: | ||
{{#set: | |||
|addresslocation={{GetPersonValue|prop=addresslocation}} | |addresslocation={{GetPersonValue|prop=addresslocation}} | ||
|affiliationRaw={{GetPersonValue|prop=affiliationRaw}}|+sep=; | |affiliationRaw={{GetPersonValue|prop=affiliationRaw}}|+sep=; |