Template:Country: Difference between revisions

From DFO – Flood Observatory
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 45: Line 45:
tables=FloodReports
tables=FloodReports
|fields = COUNT(_pageName)
|fields = COUNT(_pageName)
|where=Country='{{PAGENAME}}' OR OtherCountry HOLDS '{{PAGENAME}}'
|where=Country HOLDS '{{PAGENAME}}'
| format = plain
| format = plain
}}'''
}}'''
Line 60: Line 60:
     Country=Country,
     Country=Country,
     OtherCountry=Additional Countries,
     OtherCountry=Additional Countries,
     Subdivision=State,
     SubdivisionName=State,
     FORMAT(Area,0)=Area (km²),
     FORMAT(Area,0)=Area (km²),
     Source=Source,
     Source=Source,
Line 68: Line 68:
     Severity=Severity,
     Severity=Severity,
     FORMAT(FloodImpactIndex,1)=Flood impact index
     FORMAT(FloodImpactIndex,1)=Flood impact index
|where=Country='{{PAGENAME}}' OR OtherCountry HOLDS '{{PAGENAME}}'
|where=Country HOLDS '{{PAGENAME}}'
|hidden fields=Glide ﹟,Additional Countries,Source
|hidden fields=Glide ﹟,Source
|order by=Start Date DESC
|order by=Start Date DESC
|limit=6000
|limit=6000
Line 87: Line 87:
     EndDate=End Date,
     EndDate=End Date,
     Country=Country,
     Country=Country,
    OtherCountry=Additional Countries,
     FORMAT(Area,0)=Area (km²),
     FORMAT(Area,0)=Area (km²),
     Source=Source,
     Source=Source,
Line 95: Line 94:
     Severity=Severity,
     Severity=Severity,
     FORMAT(FloodImpactIndex,1)=Flood impact index
     FORMAT(FloodImpactIndex,1)=Flood impact index
|where=Country='{{PAGENAME}}' OR OtherCountry HOLDS '{{PAGENAME}}'
|where=Country HOLDS '{{PAGENAME}}'
|hidden fields=Glide ﹟,Additional Countries,Source
|hidden fields=Glide ﹟,Source
|order by=Start Date DESC
|order by=Start Date DESC
|limit=6000
|limit=6000

Latest revision as of 13:52, 13 February 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.