Difference between revisions of "Template:Infobox flood"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Sardanaphalus (titlestyle, label4 (linewrap management), some <includeonly>|</includeonly>s for sake of template's own page) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Infobox |
| bodyclass = vevent | | bodyclass = vevent | ||
| − | |||
| titleclass = summary | | titleclass = summary | ||
| + | | titlestyle = padding-bottom:0.25em<!--(to move item clear of border line)-->; | ||
| title = {{{name}}} | | title = {{{name}}} | ||
| − | + | | imagestyle = border-bottom:1px solid #aaa; | |
| − | | imagestyle = border-bottom:1px solid # | + | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|{{{image location|<noinclude>Image PlaceHolder.png</noinclude>}}}}}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |upright=1.1 |alt={{{alt|{{{image alt text|}}}}}} }} |
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image location|}}}}}}|size={{{image_size|{{{image size|}}}}}}|sizedefault=frameless|upright=1.1|alt={{{alt|{{{image alt text|}}}}}} }} | + | | captionstyle = padding:0.15em 0.25em 0.25em<!--(as above)-->; |
| − | | caption = {{{caption|{{{image name|}}}}}} | + | | caption = {{{caption<includeonly>|{{{image name|}}}</includeonly>}}} |
| rowclass1 = duration | | rowclass1 = duration | ||
| label1 = Duration | | label1 = Duration | ||
| − | | data1 = {{{duration|}}} | + | | data1 = {{{duration<includeonly>|</includeonly>}}} |
| rowclass2 = fatalities | | rowclass2 = fatalities | ||
| label2 = Fatalities | | label2 = Fatalities | ||
| − | | data2 = {{{fatalities|{{{total fatalities|}}}}}} | + | | data2 = {{{fatalities<includeonly>|{{{total fatalities|}}}</includeonly>}}} |
| rowclass3 = damages | | rowclass3 = damages | ||
| label3 = Damages | | label3 = Damages | ||
| − | | data3 = {{{damages|{{{total damages|{{{total damages (USD)|}}}}}}}}} | + | | data3 = {{{damages<includeonly>|{{{total damages|{{{total damages (USD)|}}}}}}</includeonly>}}} |
| rowclass4 = affected | | rowclass4 = affected | ||
| − | | label4 = Areas affected | + | | label4 = {{longitem|Areas affected}} |
| − | | data4 = {{{areas_affected|{{{areas affected|}}}}}} | + | | data4 = {{{affected<includeonly>|{{{areas_affected|{{{areas affected|}}}}}}</includeonly>}}} |
| + | |||
| + | }}<noinclude> | ||
| − | + | {{documentation}} | |
| + | </noinclude> | ||
Revision as of 14:30, 4 April 2014
![]() {{{caption}}} | |
| Duration | {{{duration}}} |
|---|---|
| Fatalities | {{{fatalities}}} |
| Damages | {{{damages}}} |
Areas affected | {{{affected}}} |
[[Category:Infobox templates|Template:Remove first word]]
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 |
| The above documentation is transcluded from Template:Infobox flood/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
