Template:SecurityZoneStyle: Difference between revisions

From ShadowHaven Reloaded
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>{{#strip:{{{AreaCoordinates|}}}~{{#replace:{{{DistrictName|District}}}| |_}}~'''Security Rating:''' {{{SecurityLevel|}}}<br>'''Noise Level:''' {{{Noise|}}}<br>'''Background Count:''' {{{BGC|}}}~#{{#switch:{{{SecurityLevel|}}}|AAA=55bfa0|AA=85e39d|A=bcdb72|B=ffd952|C=f7cb94|D=fa917a|E=de85c9|Z=9c6cb3|777777}}~0.55~3~#{{#switch:{{{SecurityLevel|}}}|AAA=55bfa0|AA=85e39d|A=bcdb72|B=ffd952|C=f7cb94|D=fa917a|E=de85c9|Z=9c6cb3|777777}}~0.50}}</includeonly>
<includeonly>{
  "type": "Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [[ [{{#replace:{{{AreaCoordinates|}}}|:|], [}}] ]]
  },
  "properties": {
    "stroke": "#{{#switch:{{{SecurityLevel|}}}|AAA=55bfa0|AA=85e39d|A=bcdb72|B=ffd952|C=f7cb94|D=fa917a|E=de85c9|Z=9c6cb3|777777}}",
    "stroke-width": 3,
    "stroke-opacity": 0.55,
    "fill": "#{{#switch:{{{SecurityLevel|}}}|AAA=55bfa0|AA=85e39d|A=bcdb72|B=ffd952|C=f7cb94|D=fa917a|E=de85c9|Z=9c6cb3|777777}}",
    "fill-opacity": 0.50,
    "popup": "'''District:''' {{{DistrictName|District}}}<br>'''Security Rating:''' {{{SecurityLevel|}}}<br>'''Noise Level:''' {{{Noise|}}}<br>'''Background Count:''' {{{BGC|}}}"
  }
},</includeonly>

Revision as of 03:27, 6 August 2026