Template:Infobox flood/doc
This is a documentation subpage for Template:Infobox flood. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Date | duration or date |
---|---|
Location | affected |
Deaths | fatalities |
Property damage | damages |
{{Infobox flood | name = | image = | image_size = | alt = <!--(short description of image per [[WP:ALT]])--> | caption = <!--(for image)--> | duration = <!--e.g. {{start date|YYYY|MM|DD|df=y}}–{{end date|YYYY|MM|DD|df=y}}--> | date = <!--(alternate to duration, e.g. for a single date)--> | damages = | fatalities = | affected = <!--Areas affected by flooding, in order from first to last affected--> }}
Microformat
The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject on English Wikipedia.
- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.
See also
- {{Infobox earthquake}}
- {{Infobox tropical cyclone}}
- {{Infobox storm}}
- {{Infobox tornado}}
TemplateData
TemplateData for Infobox flood
<templatedata> { "params": { "name": {}, "image": { "aliases": [ "image location" ] }, "image_size": { "aliases": [ "image size" ] }, "alt": { "aliases": [ "image alt text" ] }, "caption": { "aliases": [ "image name" ] }, "duration": { "aliases": [ "date" ], "label": "Date(s)", "description": "date or date range", "example": "Expression error: Unrecognized word "dd". YYYY
–Expression error: Unrecognized word "dd". YYYY " }, "affected": { "aliases": [ "areas_affected", "areas affected" ], "label": "Location", "description": "Areas affected by flooding, in order from first to last affected" }, "cause": {}, "fatalities": { "aliases": [ "total fatalities" ], "label": "Deaths" }, "damages": { "aliases": [ "total damages", "total damages (USD)" ], "label": "Property damage" }, "website": {} }, "description": "Infobox for a flood", "format": "block" } </templatedata>