Template:Profile: Difference between revisions
From Tsadra Foundation Advanced Contemplative Scholarships
(by SublimeText.Mediawiker) |
(by SublimeText.Mediawiker) |
||
| Line 19: | Line 19: | ||
<div class="person-image"> | <div class="person-image"> | ||
{{#widget:RoundImage | {{#widget:RoundImage | ||
|filepath={{filepath: {{PAGENAME: {{#if: {{{ images | }}} | |filepath={{filepath: {{PAGENAME: {{#if: {{#ask:[[Category:Application Files]][[Applicant::{{{ firstname | }}} {{{ lastname | }}}]][[Filetype::Photo]] | ||
{{{ images | }}} | |||
| {{{ images | }}} | |||
| {{#ask:[[Category:Application Files]][[Applicant::{{{ firstname | }}} {{{ lastname | }}}]][[Filetype::Photo]] | |||
|limit=1 | |||
|link=none | |||
}} | |default=File:Placeholder-person.png | ||
}} | |||
}} | |||
}} | |||
|400 | |400 | ||
}} | }} | ||
| Line 33: | Line 35: | ||
}}<br>{{#ifsysop: | }}<br>{{#ifsysop: | ||
<div style="margin-top: 0;"> | <div style="margin-top: 0;"> | ||
<small>[http://tfacs.tsadra.org/index.php/Special:UploadWizard?categories={{urlencode:{{{ firstname | }}} {{{ lastname | }}}}}%7CAlumni%20Profile% | <small>[http://tfacs.tsadra.org/index.php/Special:UploadWizard?categories={{urlencode:{{{ firstname | }}} {{{ lastname | }}}}}%7CAlumni%20Profile%20Pictures&description=Profile%20image <i class="fal fa-upload fa-lg" title="upload new profile image"></i>] {{#autoedit:form=Profile|target={{FULLPAGENAME}}|link text=<i class="fal fa-trash-alt fa-lg" title="remove profile image"></i>|query string=Profile[images]=|reload}}</small> | ||
</div> | </div> | ||
| | | | ||