Template:FloodReports: Difference between revisions

From DFO – Flood Observatory
No edit summary
No edit summary
Line 71: Line 71:
|-
|-
| Duration
| Duration
| {{{Duration|}}} {{#expr:ln( {{{Area}}} * {{{Severity}}} * {{#expr:
| {{{Duration|}}}  
  ((
    {{#time:U|{{{EndDate}}}}}
    -
    {{#time:U|{{{BeginDate}}}}}
  ) / 86400)+1
}} )/ln(10) }}
 
|-
|-
| Source
| Source
Line 96: Line 89:
|-
|-
| FloodImpactIndex
| FloodImpactIndex
| {{{FloodImpactIndex|}}}
| {{#expr:{{{FloodImpactIndex|}}}round1}}
|-
|-
| Notes
| Notes
Line 135: Line 128:
|MainCause={{{MainCause|}}}
|MainCause={{{MainCause|}}}
|Severity={{{Severity|}}}
|Severity={{{Severity|}}}
|FloodImpactIndex={{#expr:ln10( {{{Area}}} * {{{Severity}}} * {{#expr:
|FloodImpactIndex={{#expr:ln( {{{Area}}} * {{{Severity}}} * {{#expr:
   ((
   ((
     {{#time:U|{{{EndDate}}}}}
     {{#time:U|{{{EndDate}}}}}
Line 141: Line 134:
     {{#time:U|{{{BeginDate}}}}}
     {{#time:U|{{{BeginDate}}}}}
   ) / 86400)+1
   ) / 86400)+1
}} ) }}
}} ) / ln(10) }}
|Notes={{{Notes|}}}
|Notes={{{Notes|}}}
}}</includeonly>
}}</includeonly>

Revision as of 15:42, 21 January 2026

This is the "FloodReports" template. It should be called in the following format:

{{FloodReports
|ReportNumber=
|ReportID=
|GlideNumber=
|Country=
|OtherCountry=
|Area=
|BeginDate=
|EndDate=
|Duration=
|Source=
|NumberOfFatalities=
|NumberOfDisplaced=
|MainCause=
|Severity=
|FloodImpactIndex=
|Notes=
}}


This template defines the table "FloodReports". View table.