Template:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 7: Line 7:
|Date Start={{{Date Start|}}}
|Date Start={{{Date Start|}}}
|Date End={{{Date End|}}}
|Date End={{{Date End|}}}
|Total days adjusted={{{Total days adjusted|}}}
|Event description={{{Event description|}}}
|Event description={{{Event description|}}}
|Event short description={{{Event short description|}}}
|Presented by={{{Presented by|}}}|+sep=,
|Presented by={{{Presented by|}}}|+sep=,
|Sponsored by={{{Sponsored by|}}}|+sep=,
|Sponsored by={{{Sponsored by|}}}|+sep=,
Line 15: Line 15:
|Associated Program={{{Associated Program|}}}|+sep=,
|Associated Program={{{Associated Program|}}}|+sep=,
|Event artist={{{Event artist|}}}|+sep=,
|Event artist={{{Event artist|}}}|+sep=,
|Event designer={{{Event designer|}}}|+sep=,
|Event location={{{Event location|}}}|+sep=,
|Event location={{{Event location|}}}|+sep=,
|Type of Event={{{Type of Event|}}}|+sep=,
|Event format={{{Event format|}}}|+sep=;
|Event medium={{{Event medium|}}}|+sep=;
|Event ticket price={{{Event ticket price|}}}
|Event ticket price={{{Event ticket price|}}}
|Is public={{{Is public|}}}|+sep=,
|Is public={{{Is public|}}}
|Event image={{#if:{{{Event image|}}}|File:{{PAGENAME:{{{Event image|}}}}}}}
|Event image={{#if:{{{Event image|}}}|File:{{PAGENAME:{{{Event image|}}}}}}}
|Event image caption={{{Event image caption|}}}
|Event image caption={{{Event image caption|}}}
|Airtable Event Record ID={{{Airtable Event Record ID|}}}
|Airtable Record ID={{{Airtable Record ID|}}}
}}
}}
</div>
</div>
Line 64: Line 64:
}}<!--
}}<!--


-->{{#ifexpr: 0{{{Total days adjusted|}}} > 1|
-->{{#if: {{{Event format|}}}|<tr>
<tr>
<td>Format</td>
<td>Total days</td>
<td><ul>{{#arraymap: {{{Event format|}}}
<td>{{{Total days adjusted|}}}</td>
  |;
</tr>
  |@@@
}}<!--
  |<li>{{#queryformlink: form=Event types
        |link text=@@@
        |Event types[Event format]=@@@
        |Event types[param]=Event format
        |Event types[value]=@@@
        |_run=1
      }}</li>
  |
}}</ul>
</td>
</tr>}}<!--


--><tr>
-->{{#if: {{{Event medium|}}}|<tr>
<td>Kind of Event</td>
<td>Medium</td>
<td>{{#arraymap:{{{Type of Event|}}}
<td><ul>{{#arraymap: {{{Event medium|}}}
      |,
  |;
      |@
  |@@@
      |{{#queryformlink: form=Event types    
  |<li>{{#queryformlink: form=Event types
         |link text=@
         |link text=@@@
         |Event types[Event type]=@
         |Event types[Event medium]=@@@
         |Event types[param]=Type of Event
         |Event types[param]=Event medium
         |Event types[value]=@
         |Event types[value]=@@@
         |_run=1
         |_run=1
       }}
       }}</li>
      |&#32;&middot;&#32;
  |
    }}</td>
}}</ul></td>
</tr><!--
</tr>}}<!--


-->{{#switch: {{{Event location|}}}
-->{{#switch: {{{Event location|}}}
Line 115: Line 125:
{{#arraymap:
{{#arraymap:
Event artist
Event artist
Event designer
Presented by
Presented by
Sponsored by
Sponsored by

Revision as of 16:54, November 25, 2023