Difference between revisions of "IncidentInfoBox"
(Added arc) |
(Added arc correctly this time) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{EventInfoBox|title={{{title|}}}|image={{{image|}}}|locations={{{locations|}}}|groups={{{groups|}}}|previousEvent={{{previousIncident|}}}|nextEvent={{{nextIncident|}}}|startDate={{{startDate|}}}|endDate={{{endDate|}}}|startTime={{{startTime|}}}|endTime={{{endTime|}}}|type=incident|extraContent={{#if: result|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Outcome</b>:</td><td>{{{result}}}</td></tr>}}}}</includeonly><noinclude>{{IncidentInfoBox|title=Test incident|image=byAllah.jpg|locations=[[Location A]], [[Location B]]|groups=[[Group 1]], [[Group 2]]|previousIncident=[[Some Previous Incident]]|nextIncident=[[The Next Incident]]|startDate=6/9/42|endDate=6/9/69|startTime=12:00|endTime=19:00|result=Group 1 triumphed over Group 2| | + | <includeonly>{{EventInfoBox|title={{{title|}}}|image={{{image|}}}|locations={{{locations|}}}|groups={{{groups|}}}|previousEvent={{{previousIncident|}}}|nextEvent={{{nextIncident|}}}|startDate={{{startDate|}}}|endDate={{{endDate|}}}|startTime={{{startTime|}}}|endTime={{{endTime|}}}|type=incident|extraContent={{#if: result|<tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Outcome</b>:</td><td>{{{result}}}</td></tr><tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Parent Arc:</b></td><td>{{{arc}}}</td></tr>}}}}</includeonly><noinclude>{{IncidentInfoBox|title=Test incident|image=byAllah.jpg|locations=[[Location A]], [[Location B]]|groups=[[Group 1]], [[Group 2]]|previousIncident=[[Some Previous Incident]]|nextIncident=[[The Next Incident]]|startDate=6/9/42|endDate=6/9/69|startTime=12:00|endTime=19:00|result=Group 1 triumphed over Group 2|arc=[[Some Arc]]}}Test Text<templatedata>{ |
"params": { | "params": { | ||
"title": { | "title": { |
Revision as of 20:10, 29 November 2020
Test incident | |
---|---|
Notable Locations: | Location A, Location B |
Involved Groups: | Group 1, Group 2 |
Preceding Incident: | Some Previous Incident |
Succeeding Incident: | The Next Incident |
Start Date: | 6/9/42 |
Start Time: | 12:00 |
End Date: | 6/9/69 |
End Time: | 19:00 |
Outcome: | Group 1 triumphed over Group 2 |
Parent Arc: | Some Arc |
Test Text
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | The name of the incident | String | optional |
Image | image | An image of the incident | File | optional |
Locations | locations | Any location(s) the event took part in | String | required |
Groups | groups | Any groups involved in the incident | Unknown | required |
Previous Incident | previousIncident | The incident that happened before this one chronologically | Page | optional |
Next Incident | nextIncident | The incident that happened after this one chronologically | Page | optional |
Start Date | startDate | The date that the Incident started | String | required |
End Date | endDate | The date the incident finished (If the same as start leave blank) | String | suggested |
Start Time | startTime | The time the incident started | String | suggested |
End Time | endTime | The time the incident finished (leave blank if close to start time) | String | suggested |
Outcome | result | The outcome of the incident briefly described
| String | required |
Arc | arc | The arc that this incident belongs to | Page | required |