Jump to content

Template:Infobox flood/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m syntaxhighlight lang="wikitext"
detag
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{deprecated|Infobox flood|Infobox weather event}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}



Revision as of 03:04, 17 September 2023

Usage

name
caption
Date
duration
or date
Locationaffected
Deathsfatalities
Property damagedamages
{{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.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox flood in articles based on its TemplateData.

TemplateData for Infobox flood

Infobox for a flood

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage image location

no description

Unknownoptional
image_sizeimage_size image size

no description

Unknownoptional
altalt image alt text

no description

Unknownoptional
captioncaption image name

no description

Unknownoptional
Date(s)duration date

date or date range

Example
{{start date|YYYY|MM|DD|df=y}}–{{end date|YYYY|MM|DD|df=y}}
Unknownoptional
Locationaffected areas_affected areas affected

Areas affected by flooding, in order from first to last affected

Unknownoptional
causecause

no description

Unknownoptional
Deathsfatalities total fatalities

no description

Unknownoptional
Property damagedamages total damages total damages (USD)

no description

Unknownoptional
Human DisplacementHuman Displacement

no description

Unknownoptional