Difference between revisions of "Template:Infobox flood/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus ({{Infobox flood}}, Usage update, sandbox non-categorization) |
imported>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | |||
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> | <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> | ||
== Usage == | == Usage == | ||
| + | {{Generic template demo |_display=italics |name |image=Image PlaceHolder.png |caption |duration={{longitem|''duration''<br/>or ''date''}} |damages |fatalities |affected}} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox flood | {{Infobox flood | ||
| − | | name = | + | | name = |
| − | | image = | + | | image = |
| image_size = | | image_size = | ||
| − | | alt = | + | | alt = <!--(short description of image per [[WP:ALT]])--> |
| − | | caption = | + | | caption = <!--(for image)--> |
| − | | duration = | + | | 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 = | + | | damages = |
| fatalities = | | fatalities = | ||
| − | | affected = | + | | affected = <!--Areas affected by flooding, in order from first to last affected--> |
}} | }} | ||
</pre> | </pre> | ||
| Line 23: | Line 23: | ||
== See also == | == See also == | ||
*{{tl|Infobox earthquake}} | *{{tl|Infobox earthquake}} | ||
| − | *{{tl|Infobox | + | *{{tl|Infobox tropical cyclone}} |
*{{tl|Infobox storm}} | *{{tl|Infobox storm}} | ||
*{{tl|Infobox tornado}} | *{{tl|Infobox tornado}} | ||
| − | < | + | ==TemplateData== |
| − | {{ | + | {{TemplateData header}} |
| + | <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>{{Sandbox other|| | ||
| + | |||
<!--------CATEGORIES BELOW THIS LINE, PLEASE:---------> | <!--------CATEGORIES BELOW THIS LINE, PLEASE:---------> | ||
[[Category:Flood templates|Infobox]] | [[Category:Flood templates|Infobox]] | ||
[[Category:Geology infobox templates|Flood]] | [[Category:Geology infobox templates|Flood]] | ||
| − | }} | + | |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 19:31, 25 April 2020
| 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 tropical cyclone}}
- {{Infobox storm}}
- {{Infobox tornado}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox flood
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 |