Template:PersonCall: Difference between revisions
From Rinchen Terdzö
((by SublimeText.Mediawiker)) Tag: Reverted |
((by SublimeText.Mediawiker)) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 41: | Line 41: | ||
{{#widget:RoundFancyboxImage | {{#widget:RoundFancyboxImage | ||
|filepath={{#ifeq: {{GetPersonValue|prop=FirstImage}} | |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={{#ifeq: {{GetPersonValue|prop=FirstImage}} | |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 | ||
|depth=3 m-auto | |depth=3 m-auto | ||
Line 133: | 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 139: | Line 158: | ||
|; | |; | ||
| | | | ||
}} | }}{{#set: | ||
{{#set: | |||
|addresslocation={{GetPersonValue|prop=addresslocation}} | |addresslocation={{GetPersonValue|prop=addresslocation}} | ||
|affiliationRaw={{GetPersonValue|prop=affiliationRaw}}|+sep=; | |affiliationRaw={{GetPersonValue|prop=affiliationRaw}}|+sep=; |