Template:Country: Difference between revisions
From DFO – Flood Observatory
DFO Kettner (talk | contribs) No edit summary |
DFO Kettner (talk | contribs) 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= | |||
CONCAT_WS('','[[',_pageName, '|', ReportNumber, ']]')=﹟, | |||
GlideNumber=Glide ﹟, | |||
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.