Template:OrgCall: Difference between revisions

From Bodhicitta
((by SublimeText.Mediawiker))
(VSCode edit)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>__NOTOC__{{RemoveFirstHeading}}{{#addbodyclass:no-catlinks}}
<includeonly>__NOTOC__{{RemoveFirstHeading}}
<div class="d-flex justify-content-center mt-5 mb-3">{{#ifsysop:<span class="admin-links font-sans pr-3">[https://research.tsadra.org/index.php?title={{SUBPAGENAMEE}}&action=edit <i class="fa-duotone fa-building"></i> Edit on Research]</span>|}}</div>
<div class="d-flex justify-content-center mt-5 mb-3">{{#ifsysop:<span class="admin-links font-sans pr-3">[https://research.tsadra.org/index.php?title={{SUBPAGENAMEE}} <i class="fa-duotone fa-eye"></i> View on DRL] &nbsp; [https://research.tsadra.org/index.php?title={{SUBPAGENAMEE}}&action=edit <i class="fa-duotone fa-building"></i> Edit on DRL]</span>|}}</div>{{#ifexist:{{SUBPAGENAME}}
|
|{{Callout
|icon=‼
|title=<span style="color: red;">Redirect needed!</span>
|text=Please create the redirects below by clicking below and saving. <br> {{Redirect|{{#titleparts:{{SUBPAGENAME}} }} }}
}}
}}


<div class="h2 d-md-flex justify-content-between align-items-end no-after-display">
<div class="h2 d-md-flex justify-content-between align-items-end no-after-display">
Line 17: Line 24:
|filepath={{#ifeq: {{GetOrgValue|prop=FirstImage}}  
|filepath={{#ifeq: {{GetOrgValue|prop=FirstImage}}  
| File:Noimagefound.jpg  
| File:Noimagefound.jpg  
| https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
| {{filepath:{{#titleparts:{{PAGENAME:{{GetOrgValue
| {{filepath:{{#titleparts:{{PAGENAME:{{GetOrgValue
|prop=FirstImage
|prop=FirstImage
|default=https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
|default={{filepath:Teaching_Mudra_2_reduced_opacity.png}}
}}}}}}|300}}
}} }} }}|300}}
}}
}}
|fullimage={{#ifeq: {{GetOrgValue|prop=FirstImage}}  
|fullimage={{#ifeq: {{GetOrgValue|prop=FirstImage}}  
| File:Noimagefound.jpg  
| File:Noimagefound.jpg  
| https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
| {{filepath:Teaching_Mudra_2_reduced_opacity.png}}
| {{filepath:{{#titleparts:{{PAGENAME:{{GetOrgValue
| {{filepath:{{#titleparts:{{PAGENAME:{{GetOrgValue
|prop=FirstImage
|prop=FirstImage
|default=https://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
|default={{filepath:Teaching_Mudra_2_reduced_opacity.png}}
}}}}}}}}
}} }} }} }}
}}
}}
|size=250px
|size=250px
|depth=3 m-auto
|depth=3 m-auto
|bgSize=80%
|bgSize=cover
|linkclasses={{#ifeq: {{GetOrgValue|prop=FirstImage}} | File:Noimagefound.jpg | d-none | }}
|linkclasses={{#ifeq: {{GetOrgValue|prop=FirstImage}} | File:Noimagefound.jpg | d-none | }}
}}
}}
Line 53: Line 60:
|@@@
|@@@
|{{#widget:PersonGallery
|{{#widget:PersonGallery
|anchorsrc={{filepath:{{#titleparts:{{PAGENAME:@@@}}}}|nowiki}}
|anchorsrc={{filepath:{{#titleparts:{{PAGENAME:@@@}} }}|nowiki}}
|src={{filepath:{{#titleparts:{{PAGENAME:@@@}}}}|50}}
|src={{filepath:{{#titleparts:{{PAGENAME:@@@}} }}|50}}
|height=50px !important
|height=50px !important
|imgclasses=m-1
|imgclasses=m-1
Line 62: Line 69:
</div>
</div>
</div>
</div>
<div class="col-lg-8 person-page-text">{{#if: {{{ description | }}} |  
<div class="col-lg-8 text-article">{{#if: {{{ description | }}} |  
{{{ description | }}} |  
{{{ description | }}} |  
{{GetOrgValue|prop=Description}} }}{{#if: {{GetOrgValue|prop=Website}}|
{{GetOrgValue|prop=Description}} }}{{#if: {{GetOrgValue|prop=Website}}|
<div class="row justify-content-center">
<div class="row justify-content-center my-4">
{{MiniTile
{{MiniTile
|wrapperclasses=col-md-6
|wrapperclasses=col-md-6
Line 75: Line 82:
</div>
</div>
</div>{{SetOrgValue
</div>{{SetOrgValue
|prop=Orgname;Description;FirstImage;Images;Website
|prop=Images;Website
|sep=;
|sep=;
}}{{SetOrgValue
|prop=Orgname;Description;FirstImage
}}
}}


 
{{#widget:FilterInput}}
{{GetWorks
{{GetWorks
|header=Author of the following works
|header=Library items related to this organization
|query={{#if: {{{ overrideAuthoredWorks | }}} | [[{{#arraymap: {{{ overrideAuthoredWorks | }}} |;|@@@|@@@|{{!}}{{!}}}}]] | [[:+]][[BcaAuthor::{{PAGENAME}}]] }}
|query=[[Category:{{SUBPAGENAME}}]][[Category:Library Items]]
}}{{GetWorks
|limit=108
|header=Source author of the following translations or commentaries
|query=[[:+]][[SourceAuthor::{{SUBPAGENAME}}]]
}}{{GetWorks
|header=Translator of the following works
|query={{#if: {{{ overrideTranslatoredWorks | }}} | [[{{#arraymap: {{{ overrideTranslatoredWorks | }}} |;|@@@|@@@|{{!}}{{!}}}}]] | [[:+]][[Translator::{{PAGENAME}}]] }}
}}{{GetWorks
|header=Editor of the following works
|query=[[:+]][[Editor::{{SUBPAGENAME}}]]
}}{{GetWorks
|header=All other works involving this person
|query=[[:+]][[Category:{{SUBPAGENAME}}]][[BcaAuthor::!{{SUBPAGENAME}}]][[Translator::!{{SUBPAGENAME}}]][[SourceAuthor::!{{SUBPAGENAME}}]]
}}
}}


<!--{{CreateRootPageRedirect}}-->{{DEFAULTSORT:{{SUBPAGENAME}}}}[[Category:People]]</includeonly>
<!--{{CreateRootPageRedirect}}-->{{DEFAULTSORT: {{SUBPAGENAME}} }}{{DISPLAYTITLE: {{SUBPAGENAME}} }}[[Category:Organizations]]</includeonly>

Latest revision as of 17:24, 8 October 2026