Actions

Template

Incident: Difference between revisions

From hmis

No edit summary
No edit summary
Line 5: Line 5:
== Usage ==
== Usage ==
<pre>
<pre>
{{IncidentReport
{{Incident
  | Description      = Short description of the incident
  | Description      = Short description of the incident
  | DateTime        = 2025-08-24 16:00
  | DateTime        = 2025-08-24 16:00
Line 26: Line 26:
* <code>Subject Distance</code> – Approximate distance to subject in meters.   
* <code>Subject Distance</code> – Approximate distance to subject in meters.   
* <code>Subject</code> – Latitude, longitude of estimated subject position.   
* <code>Subject</code> – Latitude, longitude of estimated subject position.   
== Example ==
{{Incident
| Description      = Tree fallen across road
| DateTime        = 2025-08-24 09:45
| Image            = TreeBlockedRoad.jpg
| Camera          = 45.512, -122.658
| Camera Altitude  = 20
| Camera Direction = 180
| Subject Distance = 30
| Subject          = 45.511, -122.657
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>

Revision as of 19:10, August 24, 2025

This template is used to record and display incident reports with description, time, image, and geospatial information. It also stores semantic properties for use in queries and maps.

Usage

{{Incident
 | Description      = Short description of the incident
 | DateTime         = 2025-08-24 16:00
 | Image            = Example.jpg
 | Camera           = 45.512, -122.658
 | Camera Altitude  = 15
 | Camera Direction = 120
 | Subject Distance = 20
 | Subject          = 45.513, -122.657
}}

Parameters

  • Description – Brief description of the incident.
  • DateTime – Date and time the incident occurred (any MediaWiki-valid date/time).
  • Image – File name of the uploaded image (e.g. MyPhoto.jpg).
  • Camera – Latitude, longitude of camera position (comma-separated).
  • Camera Altitude – Altitude of the camera in meters.
  • Camera Direction – Direction camera was facing in degrees.
  • Subject Distance – Approximate distance to subject in meters.
  • Subject – Latitude, longitude of estimated subject position.