Template:Profile: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(15 intermediate revisions by the same user not shown)
Line 4: Line 4:
{{#ifeq: {{FULLPAGENAME}}
{{#ifeq: {{FULLPAGENAME}}
| User:{{CURRENTLOGGEDUSER}}
| User:{{CURRENTLOGGEDUSER}}
| <div class="button-links" style="float: right;">[{{canonicalurl:{{FULLPAGENAME}}|action=formedit}} <i class="fas fa-user-edit"></i> edit your page] [[Special:ChangePassword|<i class="fas fa-key"></i> change password]]</div>
| <div class="button-links text-90" style="float: right;">
[{{canonicalurl:{{FULLPAGENAME}}|action=formedit}} <i class="fas fa-user-edit"></i> edit your page]
[[Special:ChangePassword|<i class="fas fa-key"></i> change password]]
</div>
|  
|  
}}
}}
<h1 class="firstHeading">{{{ firstname | }}} {{{ lastname | }}}</h1>
<h1 class="firstHeading">{{{ firstname | }}} {{{ lastname | }}}</h1>


<div class="profile-page">
<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 class="mb-5">{{#widget:RoundFancyboxImage
<div class="person-image">
|filepath={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}}
{{#widget:RoundImage
|{{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]
|filepath={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}}
|limit=1
|{{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]
|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
|400
|default=File:Placeholder-person.png
}}
}}
|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
|link=none
|default=File:Placeholder-person.png
}}
}}
}}
}}
}}
}}
}}
}}
|400
}}
}}
|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>
|linkclasses=
<div class="col-md-7">
}}
<div class="person-information">{{#if: {{{ CurrentActivities | }}} |
</div>{{#if: {{{ CurrentLocation | }}} |
'''Currently'''<br>
<div class="rect-map rounded tsdwiki-depth-1">{{#display_map: {{{ CurrentLocation | }}}~{{{ CurrentLocation | }}} | service=leaflet | height=200px | zoom=10 }}</div> | }}
</div>
{{{ CurrentActivities | }}} | }}
<div class="col-md-7">
<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>
</div>{{#if: {{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]}} |
</div>
<div class="row" style="margin-bottom: 15px; border-bottom: 1px solid rgb(0, 150, 0); padding-bottom: 15px;">
</div>{{#if: {{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]}} |
<div id="masonry" class="imglist" style="display: flex; flex-flow: row wrap;">
<div class="row" style="margin-bottom: 15px; border-bottom: 1px solid rgb(0, 150, 0); padding-bottom: 15px;">
{{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]
<div id="masonry" class="imglist" style="display: flex; flex-flow: row wrap;">
|format=template
{{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]
|template=AlumniGallery
|format=template
|link=none
|template=AlumniGallery
}}
|link=none
</div>
}}
</div>| }}{{#if: {{{ BuddhistActivities | }}} |
</div>
<div class="row" style="padding: 10px;">
</div>| }}{{#if: {{{ BuddhistActivities | }}} |
<div class="col-md-3">
<div class="row" style="padding: 10px;">
'''Buddhism-Related Activities'''
<div class="col-md-3">
</div>
'''Buddhism-Related Activities'''
<div class="col-md-9">
</div>
{{{ BuddhistActivities | }}}
<div class="col-md-9">
</div>
{{{ BuddhistActivities | }}}
</div> | }}{{#if: {{{ ProfessionalActivities | }}} |  
</div>
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
</div> | }}{{#if: {{{ ProfessionalActivities | }}} |  
<div class="col-md-3">
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
'''Professional Activities'''
<div class="col-md-3">
</div>
'''Professional Activities'''
<div class="col-md-9">
</div>
{{{ ProfessionalActivities | }}}
<div class="col-md-9">
</div>
{{{ ProfessionalActivities | }}}
</div> | }}{{#if: {{{ PersonalActivities | }}} |
</div>
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
</div> | }}{{#if: {{{ PersonalActivities | }}} |
<div class="col-md-3">
<div class="row" style="padding: 10px; border-top: 1px solid rgb(221, 221, 221);">
'''Personal Activities'''
<div class="col-md-3">
</div>
'''Personal Activities'''
<div class="col-md-9">
</div>
{{{ PersonalActivities | }}}
<div class="col-md-9">
</div>
{{{ PersonalActivities | }}}
</div> | }}
</div>
</div>{{#ifexist: {{{ center | {{{ retreatcenter | }}} }}} |
</div> | }}
<div class="col-md-4">
</div>{{#ifexist: {{{ center | {{{ retreatcenter | }}} }}} |
{{#ask:[[{{{ center | {{{ retreatcenter | }}} }}}]]
<div class="col-md-4">
|?description
{{#ask:[[{{{ center | {{{ retreatcenter | }}} }}}]]
|?ImagesRaw
|?description
|?Coordinates
|?ImagesRaw
|?offeredprogs
|?Coordinates
|?website
|?offeredprogs
|?Headteach
|?website
|?address
|?Headteach
|link=none
|?address
|format=template
|link=none
|template=InstitutePanel
|format=template
}}
|template=InstitutePanel
</div>[[Category:{{{ center | {{{ retreatcenter | }}} }}}]] | }}
}}
</div>{{#if: {{{ FeaturedInfo | }}} |
</div>[[Category:{{{ center | {{{ retreatcenter | }}} }}}]] | }}
<div class="row" style="border-top: 1px solid rgb(221, 221, 221);">
</div>{{#if: {{{ FeaturedInfo | }}} |
<h2>Featured information</h2>
<div class="row" style="border-top: 1px solid rgb(221, 221, 221);">
{{{ FeaturedInfo | }}}
<h2>Featured information</h2>
</div> | }}
{{{ FeaturedInfo | }}}
</div>[[Category:Scholarship Alumni]]{{#set:
</div> | }}[[Category:Scholarship Alumni]]{{#set:
|alumni={{{ alumni | }}}
|alumni={{{ alumni | }}}
|archived= {{{ archived | }}}
|archived= {{{ archived | }}}
Line 162: Line 180:
|limit=1
|limit=1
|link=none
|link=none
|default=File:Placeholder-person.png
|default=File:Placeholder Image.png
}}
}}
}}
}}
Line 178: Line 196:
|solitary={{{ solitary | }}}
|solitary={{{ solitary | }}}
|solitarynotes={{{ solitarynotes | }}}
|solitarynotes={{{ solitarynotes | }}}
|Visible to=whitelist
|Visible to group=alumni
|Visible to group=sysop
|Editable by=whitelist
|Editable by user=User:{{SUBPAGENAME}}
|Editable by group=sysop
}}
}}
</includeonly>
</includeonly>

Latest revision as of 03:30, 29 May 2024