Template:ApplicationTile: Difference between revisions

From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="filterable col-md-6 col-lg-4 p-3" style="display: inline-block;">
<includeonly><div class="filterable col-md-6 col-lg-4 mb-4" style="display: inline-block;">
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library" style="min-height: 170px;">{{#widget:TsdwikiImgDiv
<div class="tsdwiki-pop-off tsdwiki-tile tsdwiki-tile-library" style="min-height: 170px;">{{#widget:TsdwikiImgDiv
|classes=tsdwiki-tile-library-img
|classes=tsdwiki-tile-library-img
|src={{#if:{{{2}}}|{{filepath:{{PAGENAME:{{{2}}}}}|300}}|/images/7/77/Placeholder-person.png}}
|src={{#if:{{{ 2 | }}}|{{filepath:{{PAGENAME:{{{ 2 | }}}}}|300}}|/images/7/77/Placeholder-person.png}}
}}
}}
<div class="tsdwiki-tile-library-content">
<div class="tsdwiki-tile-library-content">
<div class="h4 mb-2 p-0 clipped-2-lines border-0 text-150 line13">{{{ 3 | }}} {{{ 4 | }}}</div>
<div class="h4 mb-1 p-0 clipped-2-lines border-0 text-150 line13">{{ucfirst:{{lc:{{{ 3 | }}}}}}} {{ucfirst:{{lc:{{{ 4 | }}}}}}}</div>
<div class="text-muted clipped-4-lines unclamp-here font-weight-light">{{#if: {{{ 9 | }}} |
<div class="text-muted clipped-4-lines unclamp-here font-weight-light">{{#if: {{{ 9 | }}} |
<div><i class="fad fa-calendar-alt fa-fw"></i> {{{ 9 | }}}</div> | }}{{#if: {{{ 6 | }}}{{{ 8 | }}} |
<div><i class="fad fa-calendars fa-fw"></i> {{{ 9 | }}}</div> | }}{{#if: {{{ 8 | }}}{{{ 10 | }}} |
<div class="ellipsis"><i class="fad fa-hotel fa-fw"></i> {{#if:{{{ 6 | }}}|{{{ 6 | }}}|{{{ 8 | }}}}} </div> | }}
<div class="ellipsis"><i class="fad fa-hotel fa-fw"></i> {{#if: {{{ 10 | }}} | {{{ 10 | }}} | {{{ 8 | }}} }} </div> | }}
<div><i class="fad fa-calendar-image fa-fw"></i> {{#formatdate:{{{ 11 | }}}|ISO 8601}} to {{#formatdate:{{{ 12 | }}}|ISO 8601}}</div>
</div>
<div style="padding: 2px 6px 4px; border-radius: 2px; background: {{#switch:{{{6}}}
|A1=rgb(202, 255, 202)
|Accepted=rgb(135, 206, 250)
|Archived=rgb(176, 196, 222)
|Completed=rgb(255, 160, 122)
|Confirmed=rgb(144, 238, 144)
|Incomplete=rgb(240, 128, 128)
|Rejected=rgb(211, 211, 211)
|Shortlisted=rgb(202, 255, 202)
|Submitted=rgb(251, 238, 84)
|Withdrawn=rgb(222, 184, 135)
}}; position: absolute; bottom: 15px; right: 15px;">{{{6}}}{{#ifeq:{{{3}}}|true|<span style="vertical-align: sub; padding-left: 5px;">[[:Category: Archived Applications|🗄]]</span>|}}
</div>
</div>
<div class="mt-1 mb-0 clipped-1-line faded-carnelian font-italic">Alumni as of {{#if:{{{ 5 | }}}|{{{ 5 | }}}|{{{ 9 | }}}}}</div>
</div>{{#widget:OverlayLink
</div>{{#widget:OverlayLink
|link=/index.php/{{{ 1 | }}}
|link=/index.php/{{{ 1 | }}}
Line 19: Line 32:
</div>
</div>
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>
<div class="col-sm-4">{{#widget:RoundImage
|filepath={{#if:{{{2}}}|{{filepath:{{PAGENAME:{{{2}}}}}}}|/images-tfacs/7/77/Placeholder-person.png}}
|depth=1
|size=120px
|imagePosition={{#if: {{#show: {{{2}}} |?ImagePosition }} | {{#show: {{{2}}} |?ImagePosition }} | center }}
}}
</div>
<div class="col-sm-8">
<div class="ellipsis"><i class="fal fa-user fa-fw"></i> '''{{{3}}} {{{4}}}'''</div>{{#if: {{{9}}} |
<i class="fal fa-calendar-alt fa-fw"></i> {{{9}}} | }}{{#if: {{{8}}} |
<div class="ellipsis"><i class="fal fa-hotel fa-fw"></i> {{{8}}}</div> | }}
</div>
<div style="padding: 2px 6px 4px; border-radius: 2px; background: {{#switch:{{{6}}}
|A1=rgb(202, 255, 202)
|Accepted=rgb(135, 206, 250)
|Archived=rgb(176, 196, 222)
|Completed=rgb(255, 160, 122)
|Confirmed=rgb(144, 238, 144)
|Incomplete=rgb(240, 128, 128)
|Rejected=rgb(211, 211, 211)
|Shortlisted=rgb(202, 255, 202)
|Submitted=rgb(251, 238, 84)
|Withdrawn=rgb(222, 184, 135)
}}; position: absolute; bottom: 15px; right: 15px;">{{{6}}}{{#ifeq:{{{3}}}|true|<span style="vertical-align: sub; padding-left: 5px;">[[:Category: Archived Applications|🗄]]</span>|}}
</div>
</div>
</div>

Latest revision as of 08:10, 29 March 2024