Difference between revisions of "IncidentInfoBox"
m (Spacing) |
m (Spacing) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{EventInfoBox|title={{{title|}}} | + | <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}}Test Text<templatedata>{"params": {"title": {"label": "Title","description": "The name of the incident","type": "string"},"image": {"label": "Image","description": "An image of the incident","type": "wiki-file-name"},"locations": {"label": "Locations","description": "Any location(s) the event took part in","type": "string","required": true},"groups": {"label": "Groups","description": "Any groups involved in the incident","required": true},"startDate": {"label": "Start Date","description": "The date that the Incident started","type": "string","required": true},"endDate": {"label": "End Date","description": "The date the incident finished (If the same as start leave blank)","type": "string","suggested": true},"startTime": {"label": "Start Time","description": "The time the incident started","type": "string","suggested": true},"endTime": {"label": "End Time","description": "The time the incident finished (leave blank if close to start time)","type": "string","suggested": true},"result": {"label": "Outcome","description": "The outcome of the incident briefly described","example": "Party A won","type": "string","required": true},"previousIncident": {"label": "Previous Incident","description": "The incident that happened before this one chronologically","type": "wiki-page-name"},"nextIncident": {"label": "Next Incident","description": "The incident that happened after this one chronologically","type": "wiki-page-name"}},"paramOrder": ["title","image","locations","groups","previousIncident","nextIncident","startDate","endDate","startTime","endTime","result"]}</templatedata></noinclude> |
− | |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}}Test Text | ||
− | <templatedata> | ||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | </templatedata> | ||
− | </noinclude> |
Revision as of 18:54, 28 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 |
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 |