Template:Profile: Difference between revisions
From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
<h1 class="firstHeading">{{{ firstname | }}} {{{ lastname | }}}</h1> | <h1 class="firstHeading">{{{ firstname | }}} {{{ lastname | }}}</h1> | ||
<div class="row" style="margin: 15px 0;"> | |||
<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="col-md-5" style="margin-bottom: 15px; text-align: center;"> | |||
<div class="mb-5">{{#widget:RoundFancyboxImage | |||
|filepath={{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 | |||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
|fullimage={{filepath: {{#titleparts:{{PAGENAME: {{#if: {{#ask:[[Category:User {{PAGENAME}}]][[Category:Alumni Profile Pictures]]}} | |400 | ||
}} | |||
|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 | |||
}} | }} | ||
}} | }} | ||
| Line 54: | Line 51: | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
</div>{{#if: {{{ CurrentLocation | }}} | | |depth=2 | ||
|size=250px | |||
|linkclasses= | |||
}} | |||
</div>{{#if: {{{ CurrentLocation | }}} | | |||
<div class="rect-map rounded tsdwiki-depth-1">{{#display_map: {{{ CurrentLocation | }}}~{{{ CurrentLocation | }}} | service=leaflet | height=200px | zoom=10 }}</div> | }} | |||
</div> | |||
<div class="col-md-7"> | |||
<div class="person-information">{{#if: {{{ CurrentActivities | }}} | | |||
'''Currently'''<br> | |||
{{{ CurrentActivities | }}} | }} | |||
{| class="table th-nowrap" style="width: 100%;" {{#ifeq: {{{ solitary | }}} | Yes | | |||
{{!}}- | |||
! Solitary retreat | |||
{{!}} {{{ solitarynotes | Yes }}} | }}{{#if: {{{ dharmaname | }}} |<br> | |||
{{!}}- | |||
! Dharma name | |||
{{!}} {{{ dharmaname | }}} | }}{{#if: {{{ othername | }}} |<br> | |||
{{!}}- | |||
! Other name(s) | |||
{{!}} {{{ othername | }}} | }}{{#if: {{{ email | }}} |<br> | |||
{{!}}- | |||
! Email | |||
{{!}} {{{ email | }}} | }}{{#if: {{{ facebook | }}}{{{ twitter | }}}{{{ instagram | }}}{{{ linkedin | }}} |<br> | |||
{{!}}- | |||
! Social Media | |||
{{!}} <span class="plainlinks">{{#if: {{{ facebook | }}} | |||
|[{{{ facebook | }}} <i class="fab fa-facebook-f fa-lg fa-fw"></i>] | |||
| | |||
}}{{#if: {{{ twitter | }}} | |||
|[{{{ twitter | }}} <i class="fab fa-twitter fa-lg fa-fw"></i>] | |||
| | |||
}}{{#if: {{{ instagram | }}} | |||
|[{{{ instagram | }}} <i class="fab fa-instagram fa-lg fa-fw"></i>] | |||
| | |||
}}{{#if: {{{ linkedin | }}} | |||
|[{{{ linkedin | }}} <i class="fab fa-linkedin-in fa-lg fa-fw"></i>] | |||
| | |||
}}</span> | }}{{#if: {{{ othercontact | }}} |<br> | |||
{{!}}- | |||
! Other contact | |||
{{!}} {{{ othercontact | }}} | }}{{#if: {{{ CurrentLocation | }}} |<br> | |||
{{!}}- | |||
! Current location | |||
{{!}} {{{ CurrentLocation | }}} | }} | |||
|} | |||
</div> | </div> | ||
</div>{{#if: {{#ask: [[Category:User {{PAGENAME}}]][[Category:Alumni Gallery Pictures]]}} | | </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>{{#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 | }}} | ||
| Line 182: | Line 180: | ||
|limit=1 | |limit=1 | ||
|link=none | |link=none | ||
|default=File:Placeholder | |default=File:Placeholder Image.png | ||
}} | }} | ||
}} | }} | ||
| Line 198: | 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> | ||