Actions

Template

Sound: Difference between revisions

From hmis

No edit summary
No edit summary
Line 25: Line 25:
<includeonly>
<includeonly>
__NOEDITSECTION__
__NOEDITSECTION__
'''Description:''' [[Has incident description::{{{Description|}}}]] reported at {{#time: g:i a, j F Y | {{{DateTime|}}} }} near [[Has location::{{{Location|}}}]]{{#set: Has incident time={{#time:Y-m-d H:i:s|{{{DateTime|}}}}} }} {{#arraymap:{{{Type|}}}|,|x|{{#set: Has incident type=x}}|}}
'''Description:''' [[Has incident description::{{{Description|}}}]] reported at {{#time: g:i a, j F Y | {{{DateTime|}}} }} near [[Has location::{{{Location|}}}]]{{#set: Has incident time={{#time:Y-m-d H:i:s|{{{DateTime|}}}}} }} {{#set: Has incident type={{{Type|}}}}} {{#set: Has decibels ={{{Decibels|}}}}}
<!--
<!--
{|
{|
|colspan=2 |'''Description:''' [[Has incident description::{{{Description|}}}]] reported at {{#time: g:i a, j F Y | {{{DateTime|}}} }} near [[Has location::{{{Location|}}}]]{{#set: Has incident time={{#time:Y-m-d H:i:s|{{{DateTime|}}}}} }} {{#arraymap:{{{Type|}}}|,|x|{{#set: Has incident type=x}}|}}
|colspan=2 |'''Description:''' [[Has incident description::{{{Description|}}}]] reported at {{#time: g:i a, j F Y | {{{DateTime|}}} }} near [[Has location::{{{Location|}}}]]{{#set: Has incident time={{#time:Y-m-d H:i:s|{{{DateTime|}}}}} }} {{#arraymap:{{{Type|}}}|,|x|{{#set: Has incident type=x}}|}}
{{#ask:
[[Category:Sound]]
[[Has incident time::+]]
|?Has decibels
|format=timeseries
|charttype=bar
|charttitle={{{Description|}}}
|height=400
|width=600
}}


|-
|-

Revision as of 21:29, November 3, 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      = Loud screaming late at night
 | DateTime         = 2025-08-24 16:00
 | Location         = Save Rest Village
 | Decibels         = 45 dB
 | Type             = Screaming, Music, Leaf Blower, etc.
 | Reference        = 1066195
}}

Parameters

  • Description – Brief description of the incident.
  • DateTime – Date and time the incident occurred (any MediaWiki-valid date/time).
  • Location – Select a location
  • Decibels – Decibel reading from phone or meter
  • Type – A classification of the incident: Drug, Vehicle, Graffiti, Camp, Litter.
  • Reference – 311 Reference Number