Template:Infobox flood/doc

From The League Wiki
Jump to navigation Jump to search

Usage

name
Image PlaceHolder.png
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 on English Wikipedia.

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. Click here to see a monthly parameter usage report for this template based on this 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 (YYYY-MM-DD)Expression error: Unrecognized word "dd".  YYYY (YYYY-MM-DD)" }, "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>