Template:Opportunity: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 9: Line 9:
|Juror={{{Jurors|}}}|+sep=;
|Juror={{{Jurors|}}}|+sep=;
|Associated Program={{{Associated Program|}}}|+sep=;
|Associated Program={{{Associated Program|}}}|+sep=;
|Associated Event={{{Associated Event|}}}|+sep=;
|Presented by={{{Presented by|}}}|+sep=;
|Presented by={{{Presented by|}}}|+sep=;
}}
}}
Line 84: Line 85:
</tr>
</tr>
}}
}}
{{#if: {{{Associated Program|}}}|<tr>
{{#if: {{{Associated Event|}}}|<tr>
<td>Associated Event</td>
<td><ul>{{#arraymap: {{{Associated Event|}}}
  |;
  |@
  |<li>{{#formredlink: form=Event
        |link text=@
        |existing page link text=@
        |target=@
      }}</li>{{#vardefine: prog|{{#var: prog}};{{#show:@|?Associated Program}}}}
  |
}}</ul>{{#arraydefine: progs|{{#var:prog}};{{{Associated Program|}}}|;|sort=asc,unique}}</td>
</tr>{{#ifexpr: 0{{#arraysize: progs}} > 0
      |<tr>
<td>
{{#arrayprint: progs
  |
  |@
  |<li>{{#formredlink: form=Program
        |link text=@
        |existing page link text=@
        |target=@
      }}</li>
}}
</td></tr>
    }}
  |{{#if: {{{Associated Program|}}}|<tr>
<td>Associated Program</td>
<td>Associated Program</td>
<td><ul>{{#arraymap: {{{Associated Program|}}}
<td><ul>{{#arraymap: {{{Associated Program|}}}
Line 97: Line 124:
}}</ul></td>
}}</ul></td>
</tr>
</tr>
}}
}}
}}
{{#if: {{{Presented by|}}}|<tr>
{{#if: {{{Presented by|}}}|<tr>

Revision as of 11:45, November 15, 2022