Template:Opportunity: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 36: Line 36:
<td>{{#if:{{{Opportunity display name|}}}|{{{Opportunity display name|}}}|{{FULLPAGENAME}}}}</td>
<td>{{#if:{{{Opportunity display name|}}}|{{{Opportunity display name|}}}|{{FULLPAGENAME}}}}</td>
</tr>
</tr>
{{#switch: {{{Opportunity end date|}}}
{{#ifeq: {{{Has application window|}}}
   |{{{Opportunity start date|}}} =
  |Yes
<tr>
   |{{#if: {{{Opportunity start date|}}}
<td>Date</td>
    |<tr>
<td>{{#time: M j, Y|{{{Opportunity start date|}}}}}</td>
      <td>Application Opens</td>
</tr>
      <td>{{#time: M j, Y|{{{Opportunity start date|}}}}}</td>
  |=
      </tr>
<tr>
  }}<!--
<td>Date</td>
 
<td>{{#time: M j, Y|{{{Opportunity start date|}}}}} &ndash; rolling</td>
-->{{#if: {{{Opportunity end date|}}}
</tr>
    |<tr>
  |#default={{#if: {{{Opportunity start date|}}}|
      <td>Deadline</td>
<tr>
      <td>{{#time: M j, Y|{{{Opportunity end date|}}}}}</td>
<td>Date</td>
      </tr>
<td>{{#time: M j, Y|{{{Opportunity start date|}}}}} &ndash; {{#time: M j, Y|{{{Opportunity end date|}}}}}</td>
  }}
</tr>
  |<tr>
}}
  <td>Deadline</td>
  <td>Rolling</td>
  </tr>
}}<!--
}}<!--



Revision as of 20:15, November 18, 2022