Template:SubdivisionName: Difference between revisions

From DFO – Flood Observatory
No edit summary
No edit summary
Line 34: Line 34:
| format = plain
| format = plain
}}'''
}}'''
{{#cargo_query:
tables=FloodReports
|fields=
    CONCAT_WS('','[[',_pageName, '|', ReportNumber, ']]')=﹟,
    GlideNumber=Glide ﹟,
    BeginDate=Start Date,
    EndDate=End Date,
    Country=Country,
    OtherCountry=Additional Countries,
    SubdivisionName=State,
    FORMAT(Area,0)=Area (km²),
    Source=Source,
    MainCause=Main Cause,
    NumberOfFatalities=Fatalities,
    NumberOfDisplaced=Displaced,
    Severity=Severity,
    FORMAT(FloodImpactIndex,1)=Flood impact index
|where=SubdivisionName HOLDS '{{PAGENAME}}'
|hidden fields=Glide ﹟,Additional Countries,Source
|order by=Start Date DESC
|limit=6000
|rows per page=25
|link=ReportNumber
|format=dynamic table
|default=No flood reports found for this state.
}}


[[Category:Subdivisions]]
[[Category:Subdivisions]]

Revision as of 07:23, 8 February 2026

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

{{SubdivisionName:
 | Country=
 | M49=
 | SubdivisionCategory=
 | Code31662=
 | SubdivisionName=
}}

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