Template:Profile: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 12: Line 12:
<h1 class="firstHeading">{{{ firstname | }}} {{{ lastname | }}}</h1>
<h1 class="firstHeading">{{{ firstname | }}} {{{ lastname | }}}</h1>


<div class="">
<div class="row" style="margin: 15px 0;">
<div class="row" style="margin: 15px 0;">
<div class="{{#ifexist: {{{ center | {{{ retreatcenter | }}} }}} | col-md-8 | }}">
<div class="{{#ifexist: {{{ center | {{{ retreatcenter | }}} }}} | col-md-8 | }}">
<div class="row" style="margin-bottom: 15px; border-bottom: 1px solid rgb(0, 150, 0); padding-bottom: 15px;">
<div class="row" style="margin-bottom: 15px; border-bottom: 1px solid rgb(0, 150, 0); padding-bottom: 15px;">
<div class="col-md-5" style="margin-bottom: 15px; text-align: center;">
<div class="col-md-5" style="margin-bottom: 15px; text-align: center;">
<div>
<div>
{{#widget:RoundFancyboxImage
{{#widget:RoundFancyboxImage
|filepath={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}}
|filepath={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}}
|{{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]
|{{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]
|limit=1
|link=none
}}
| {{#if: {{{ images | }}}
| {{{ images | }}}
| {{#ask:[[Category:Application Files]][[Applicant::{{{ firstname | }}} {{{ lastname | }}}]][[Filetype::Photo]]
|limit=1
|limit=1
|link=none
|link=none
}}
|default=File:Placeholder-person.png
| {{#if: {{{ images | }}}
| {{{ images | }}}
| {{#ask:[[Category:Application Files]][[Applicant::{{{ firstname | }}} {{{ lastname | }}}]][[Filetype::Photo]]
|limit=1
|link=none
|default=File:Placeholder-person.png
}}
}}
}}
}}
}}
}}
}}
}}
}}
|400
}}
}}
|fullimage={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}}
|400
|{{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]
}}
|fullimage={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}}
|{{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]
|limit=1
|link=none
}}
| {{#if: {{{ images | }}}
| {{{ images | }}}
| {{#ask:[[Category:Application Files]][[Applicant::{{{ firstname | }}} {{{ lastname | }}}]][[Filetype::Photo]]
|limit=1
|limit=1
|link=none
|link=none
}}
|default=File:Placeholder-person.png
| {{#if: {{{ images | }}}
| {{{ images | }}}
| {{#ask:[[Category:Application Files]][[Applicant::{{{ firstname | }}} {{{ lastname | }}}]][[Filetype::Photo]]
|limit=1
|link=none
|default=File:Placeholder-person.png
}}
}}
}}
}}
}}
Line 54: Line 52:
}}
}}
}}
}}
|depth=2
|size=250px
}}
}}
</div>{{#if: {{{ CurrentLocation | }}} |
|depth=2
<div class="rect-map">{{#display_map: {{{ CurrentLocation | }}}~{{{ CurrentLocation | }}} | service=leaflet | height=200px | zoom=10 }}</div> | }}
|size=250px
</div>
}}
<div class="col-md-7">
</div>{{#if: {{{ CurrentLocation | }}} |
<div class="person-information">{{#if: {{{ CurrentActivities | }}} |
<div class="rect-map">{{#display_map: {{{ CurrentLocation | }}}~{{{ CurrentLocation | }}} | service=leaflet | height=200px | zoom=10 }}</div> | }}
'''Currently'''<br>
</div>
<div class="col-md-7">
{{{ CurrentActivities | }}} | }}
<div class="person-information">{{#if: {{{ CurrentActivities | }}} |
'''Currently'''<br>
{{{ CurrentActivities | }}} | }}




{| class="table th-nowrap" style="width: 100%;" {{#ifeq: {{{ solitary | }}} | Yes |  
{| class="table th-nowrap" style="width: 100%;" {{#ifeq: {{{ solitary | }}} | Yes |  
{{!}}-
{{!}}-
! Solitary retreat
! Solitary retreat
{{!}} {{{ solitarynotes | Yes }}} | }}{{#if: {{{ dharmaname | }}} |<br>
{{!}} {{{ solitarynotes | Yes }}} | }}{{#if: {{{ dharmaname | }}} |<br>
{{!}}-
{{!}}-
! Dharma name
! Dharma name
{{!}} {{{ dharmaname | }}} | }}{{#if: {{{ othername | }}} |<br>
{{!}} {{{ dharmaname | }}} | }}{{#if: {{{ othername | }}} |<br>
{{!}}-
{{!}}-
! Other name(s)
! Other name(s)
{{!}} {{{ othername | }}} | }}{{#if: {{{ email | }}} |<br>
{{!}} {{{ othername | }}} | }}{{#if: {{{ email | }}} |<br>
{{!}}-
{{!}}-
! Email
! Email
{{!}} {{{ email | }}} | }}{{#if: {{{ facebook | }}}{{{ twitter | }}}{{{ instagram | }}}{{{ linkedin | }}} |<br>
{{!}} {{{ email | }}} | }}{{#if: {{{ facebook | }}}{{{ twitter | }}}{{{ instagram | }}}{{{ linkedin | }}} |<br>
{{!}}-
{{!}}-
! Social Media
! Social Media
{{!}} <span class="plainlinks">{{#if: {{{ facebook | }}}  
{{!}} <span class="plainlinks">{{#if: {{{ facebook | }}}  
|[{{{ facebook | }}} <i class="fab fa-facebook-f fa-lg fa-fw"></i>]&nbsp;
|[{{{ facebook | }}} <i class="fab fa-facebook-f fa-lg fa-fw"></i>]&nbsp;
|
|
}}{{#if: {{{ twitter | }}}  
}}{{#if: {{{ twitter | }}}  
|[{{{ twitter | }}} <i class="fab fa-twitter fa-lg fa-fw"></i>]&nbsp;
|[{{{ twitter | }}} <i class="fab fa-twitter fa-lg fa-fw"></i>]&nbsp;
|
|
}}{{#if: {{{ instagram | }}}  
}}{{#if: {{{ instagram | }}}  
|[{{{ instagram | }}} <i class="fab fa-instagram fa-lg fa-fw"></i>]&nbsp;
|[{{{ instagram | }}} <i class="fab fa-instagram fa-lg fa-fw"></i>]&nbsp;
|
|
}}{{#if: {{{ linkedin | }}}  
}}{{#if: {{{ linkedin | }}}  
|[{{{ linkedin | }}} <i class="fab fa-linkedin-in fa-lg fa-fw"></i>]
|[{{{ linkedin | }}} <i class="fab fa-linkedin-in fa-lg fa-fw"></i>]
|
|
}}</span> | }}{{#if: {{{ othercontact | }}} |<br>
}}</span> | }}{{#if: {{{ othercontact | }}} |<br>
{{!}}-
{{!}}-
! Other contact
! Other contact
{{!}} {{{ othercontact | }}} | }}{{#if: {{{ CurrentLocation | }}} |<br>
{{!}} {{{ othercontact | }}} | }}{{#if: {{{ CurrentLocation | }}} |<br>
{{!}}-
{{!}}-
! Current location
! Current location
{{!}} {{{ CurrentLocation | }}} | }}
{{!}} {{{ CurrentLocation | }}} | }}
|}  
|}  


</div>
</div>
</div>{{#if: {{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]}} |
<div class="row" style="margin-bottom: 15px; border-bottom: 1px solid rgb(0, 150, 0); padding-bottom: 15px;">
<div id="masonry" class="imglist" style="display: flex; flex-flow: row wrap;">
{{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]
|format=template
|template=AlumniGallery
|link=none
}}
</div>
</div>| }}{{#if: {{{ BuddhistActivities | }}} |
<div class="row" style="padding: 10px;">
<div class="col-md-3">
'''Buddhism-Related Activities'''
</div>
<div class="col-md-9">
{{{ BuddhistActivities | }}}
</div>
</div> | }}{{#if: {{{ ProfessionalActivities | }}} |
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
<div class="col-md-3">
'''Professional Activities'''
</div>
<div class="col-md-9">
{{{ ProfessionalActivities | }}}
</div>
</div> | }}{{#if: {{{ PersonalActivities | }}} |
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
<div class="col-md-3">
'''Personal Activities'''
</div>
<div class="col-md-9">
{{{ PersonalActivities | }}}
</div>
</div>
</div> | }}
</div>
</div>{{#ifexist: {{{ center | {{{ retreatcenter | }}} }}} |
</div>{{#if: {{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]}} |
<div class="col-md-4">
<div class="row" style="margin-bottom: 15px; border-bottom: 1px solid rgb(0, 150, 0); padding-bottom: 15px;">
{{#ask:[[{{{ center | {{{ retreatcenter | }}} }}}]]
<div id="masonry" class="imglist" style="display: flex; flex-flow: row wrap;">
|?description
{{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]
|?ImagesRaw
|format=template
|?Coordinates
|template=AlumniGallery
|?offeredprogs
|link=none
|?website
}}
|?Headteach
</div>
|?address
</div>| }}{{#if: {{{ BuddhistActivities | }}} |
|link=none
<div class="row" style="padding: 10px;">
|format=template
<div class="col-md-3">
|template=InstitutePanel
'''Buddhism-Related Activities'''
}}
</div>
</div>[[Category:{{{ center | {{{ retreatcenter | }}} }}}]] | }}
<div class="col-md-9">
</div>{{#if: {{{ FeaturedInfo | }}} |
{{{ BuddhistActivities | }}}
<div class="row" style="border-top: 1px solid rgb(221, 221, 221);">
</div>
<h2>Featured information</h2>
</div> | }}{{#if: {{{ ProfessionalActivities | }}} |
{{{ FeaturedInfo | }}}
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
</div> | }}
<div class="col-md-3">
</div>[[Category:Scholarship Alumni]]{{#set:
'''Professional Activities'''
</div>
<div class="col-md-9">
{{{ ProfessionalActivities | }}}
</div>
</div> | }}{{#if: {{{ PersonalActivities | }}} |
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
<div class="col-md-3">
'''Personal Activities'''
</div>
<div class="col-md-9">
{{{ PersonalActivities | }}}
</div>
</div> | }}
</div>{{#ifexist: {{{ center | {{{ retreatcenter | }}} }}} |
<div class="col-md-4">
{{#ask:[[{{{ center | {{{ retreatcenter | }}} }}}]]
|?description
|?ImagesRaw
|?Coordinates
|?offeredprogs
|?website
|?Headteach
|?address
|link=none
|format=template
|template=InstitutePanel
}}
</div>[[Category:{{{ center | {{{ retreatcenter | }}} }}}]] | }}
</div>{{#if: {{{ FeaturedInfo | }}} |
<div class="row" style="border-top: 1px solid rgb(221, 221, 221);">
<h2>Featured information</h2>
{{{ FeaturedInfo | }}}
</div> | }}[[Category:Scholarship Alumni]]{{#set:
|alumni={{{ alumni | }}}
|alumni={{{ alumni | }}}
|archived= {{{ archived | }}}
|archived= {{{ archived | }}}

Revision as of 17:34, 3 February 2023