Template:Applicant: Difference between revisions
From Tsadra Foundation Advanced Contemplative Scholarships
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 99: | Line 99: | ||
|- | |- | ||
! Retreat dates: | ! Retreat dates: | ||
| From [[startdate::{{#show:{{{application}}}|?startdate}}]]<br>To [[enddate::{{#show:{{{application}}}|?enddate}}]] | | From [[startdate::{{#show:{{{application}}}|?startdate}}]]<br>To [[enddate::{{#show:{{{application}}}|?enddate}}]]{{#set: | ||
|InRetreatDuring={{#time: Y | {{#show:{{{application}}}|?startdate}} }}{{#ifexpr: ({{#time: Y | {{#show:{{{application}}}|?startdate}} }}+1)<({{#time: Y | {{#show:{{{application}}}|?enddate}} }}+1) | |InRetreatDuring={{#time: Y | {{#show:{{{application}}}|?startdate}} }}{{#ifexpr: ({{#time: Y | {{#show:{{{application}}}|?startdate}} }}+1)<({{#time: Y | {{#show:{{{application}}}|?enddate}} }}+1) | ||
|,{{#expr:{{#time: Y | {{#show:{{{application}}}|?startdate}} }}+1}} | |,{{#expr:{{#time: Y | {{#show:{{{application}}}|?startdate}} }}+1}} | ||
Line 123: | Line 115: | ||
|,{{#expr:{{#time: Y | {{#show:{{{application}}}|?startdate}} }}+5}} | |,{{#expr:{{#time: Y | {{#show:{{{application}}}|?startdate}} }}+5}} | ||
| | | | ||
}} | |||
|RetreatStatus={{#ifeq: {{#expr: {{#time: U | {{#show:{{{application}}}|?startdate}} }} < {{#time: U | {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} }} | |||
|0 | |||
|Upcoming | |||
|{{#ifeq: {{#expr: {{#time: U | {{#show:{{{application}}}|?enddate}} }} > {{#time: U | {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} }} }} | |||
|0 | |||
|Finished | |||
|Ongoing | |||
}} | |||
}} | }} | ||
}} | }} |