Difference between revisions of "EventInfoBox"
m (Fixed start date/time not showing) |
m (Updated event to be correct type for arc and incident) |
||
Line 20: | Line 20: | ||
{{#if: {{{previousEvent}}}| | {{#if: {{{previousEvent}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow" style="padding: 10px;"><b>Preceding Event</b>:</td> | + | <td class="infoboxtd1strow" style="padding: 10px;"><b>Preceding {{#switch: {{{type|}}}|arc=Arc|incident=Incident|Event}}</b>:</td> |
<td>{{{previousEvent}}}</td> | <td>{{{previousEvent}}}</td> | ||
</tr> | </tr> | ||
Line 26: | Line 26: | ||
{{#if: {{{nextEvent|}}}| | {{#if: {{{nextEvent|}}}| | ||
<tr> | <tr> | ||
− | <td class="infoboxtd1strow" style="padding: 10px;"><b>Succeeding Event</b>:</td> | + | <td class="infoboxtd1strow" style="padding: 10px;"><b>Succeeding {{#switch: {{{type|}}}|arc=Arc|incident=Incident|Event}}</b>:</td> |
<td>{{{nextEvent}}}</td> | <td>{{{nextEvent}}}</td> | ||
</tr> | </tr> |
Revision as of 17:06, 20 September 2020
Test Event | |
---|---|
Notable Locations: | Test City, Test village |
Involved Groups: | Test Group, Test Party |
Preceding Event: | Some previous event |
Succeeding Event: | The next event |
Start Date: | 6/9/42 |
Start Time: | 18:00 |
End Date: | 6/9/69 |
End Time: | 19:00 |
Extra content used by other templates |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The name of the event | Unknown | required |
Image | image | An image to represent the event | Unknown | optional |
Location(s) | locations | The locations the event happened in | Unknown | required |
Groups | groups | Any involved groups
| Unknown | optional |
Preceding Event | previousEvent | The event before this one | Unknown | required |
Succeeding Event | nextEvent | The event after this one | Unknown | optional |
Start Date | startDate | The date the event started | Unknown | optional |
End Date | endDate | The date the event finished | Unknown | optional |
Start Time | startTime | The time the event started | Unknown | optional |
End Time | endTime | The time the event finished | Unknown | optional |
ExtraContent | extraContent | no description | Unknown | optional |