Template:Country: Difference between revisions

From DFO – Flood Observatory
No edit summary
No edit summary
Line 40: Line 40:
* ISO-2: {{{ISO2}}}
* ISO-2: {{{ISO2}}}
* ISO-3: {{{ISO3}}}
* ISO-3: {{{ISO3}}}
<hr>


{{#cargo_query:
{{#cargo_query:
tables=FloodReports
tables=FloodReports
|fields=ReportNumber,BeginDate,EndDate,Severity,_pageName
|fields=
|where=Country='{{PAGENAME}}'
    CONCAT_WS('','[[',_pageName, '|', ReportNumber, ']]')=﹟,
|order by=BeginDate DESC
    GlideNumber=Glide ﹟,
|limit=500
    BeginDate=Start Date,
    EndDate=End Date,
    Country=Country,
    OtherCountry=Additional Countries,
    FORMAT(Area,0)=Area (km²),
    Source=Source,
    MainCause=Main Cause,
    NumberOfFatalities=Fatalities,
    NumberOfDisplaced=Displaced,
    Severity=Severity,
    FORMAT(FloodImpactIndex,1)=Flood impact index
|where=Country='{{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 country.
}}
}}



Revision as of 15:01, 30 January 2026

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

{{Country:
 | Country=
 | RegionCode=
 | RegionName=
 | SubregionCode=
 | SubregionName=
 | IntermediateRegionCode=
 | IntermediateRegionName=
 | M49=
 | ISO2=
 | ISO3=

}}

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