Difference between revisions of "Template:Infobox flood/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus (Generic template demo) |
imported>Bamyers99 (Added TemplateData) |
||
| Line 26: | Line 26: | ||
*{{tl|Infobox storm}} | *{{tl|Infobox storm}} | ||
*{{tl|Infobox tornado}} | *{{tl|Infobox tornado}} | ||
| + | |||
| + | ==TemplateData== | ||
| + | <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": "{{start date|YYYY|MM|DD|df=y}}–{{end date|YYYY|MM|DD|df=y}}" | ||
| + | }, | ||
| + | "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> | ||
<includeonly> | <includeonly> | ||
Revision as of 21:09, 22 August 2016
| 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
- redirect Template:Parameter names example
{{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
See also
- {{Infobox earthquake}}
- {{Infobox hurricane}}
- {{Infobox storm}}
- {{Infobox tornado}}
TemplateData
Infobox for a flood
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Unknown | optional |
| Image | image image location | no description | Unknown | optional |
| Image_size | image_size image size | no description | Unknown | optional |
| Alt | alt image alt text | no description | Unknown | optional |
| Caption | caption image name | no description | Unknown | optional |
| Date(s) | duration date | date or date range
| Unknown | optional |
| Location | affected areas_affected areas affected | Areas affected by flooding, in order from first to last affected | Unknown | optional |
| Cause | cause | no description | Unknown | optional |
| Deaths | fatalities total fatalities | no description | Unknown | optional |
| Property damage | damages total damages total damages (USD) | no description | Unknown | optional |
| Website | website | no description | Unknown | optional |