Actions

Template

Sound: Difference between revisions

From hmis

Created page with "<noinclude> 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 == <pre> {{Incident | Description = Loud screaming late at night | DateTime = 2025-08-24 16:00 | Location = Save Rest Village | Decibels = 45.512, -122.658 | Type = Screaming, Music, Leaf Blower, etc. | Reference..."
 
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 7: Line 7:
{{Incident
{{Incident
  | Description      = Loud screaming late at night
  | Description      = Loud screaming late at night
  | DateTime         = 2025-08-24 16:00
  | Datetime         = 2025-08-24 16:00
  | Location        = Save Rest Village
  | Location        = Save Rest Village
  | Decibels        = 45.512, -122.658
  | Decibels        = 45 dB
  | Type            = Screaming, Music, Leaf Blower, etc.
  | Type            = Screaming, Music, Leaf Blower, etc.
  | Reference        = 1066195
  | Reference        = 1066195
Line 23: Line 23:
* <code>Reference</code> – 311 Reference Number   
* <code>Reference</code> – 311 Reference Number   
</noinclude>
</noinclude>
<includeonly>
<includeonly>Description: {{{Description|}}}
__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}}|}}
<!--
{|
|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}}|}}


|-
Time: {{{Datetime|}}}
|[[File:{{{Image|}}}|600x300px]] {{#set: Has image={{{Image|}}}}}
 
|{{#display_map: {{{Camera|}}} |width=600px |height=300px |icon={{{Type|}}}32.svg |circles=45° 31' 53.49" N, 122° 41' 9.17" W:304.8~Northrup Shelter Buffer~This area is within 1000 feet of Northrup Shelter~red~0.5~2~lightgray~0.3; 45.515851465145126, -122.68775797809515:304.8~St. Stephens Buffer~This area is within 1000 feet of St. Stephens Shelter~red~0.5~2~lightgray~0.3}} {{#set: Has camera={{{Camera|}}} }} {{#set: Has camera altitude={{{Camera Altitude|}}} }} {{#set: Has camera direction={{{Camera Direction|}}} }} {{#set: Has subject distance={{{Subject Distance|}}} }} {{#set: Has subject={{{Subject|}}} }} {{#set: Has reference ID={{{Reference|}}} }}
Location {{{Facilities|}}}
|}-->
 
Type: {{{Type|}}}
 
Noise Level: {{{Decibels|}}} dB
  __NOEDITSECTION__ {{#set: Has incident description={{{Description|}}} }} {{#set: Has incident time={{{Datetime|}}} }} {{#set: Has location={{{Facilities|}}} }} {{#set: Has sound type={{{Type|}}} }} {{#set: Has decibels ={{{Decibels|}}} }}  
 
{{#ask:
[[Category:Sound]]
[[Has incident time::+]]
|?Has incident time
|?Has decibels
|format=timeseries
|charttype=bar
|charttitle=Recent Sounds
|yaxislabel=Sound Level (dB)
|yaxismins=50
|legend=right
|height=400
|width=1100
}}
[[Category:Sound]]
[[Category:Sound]]
</includeonly>
</includeonly>

Latest revision as of 14:27, November 4, 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