Template:Infobox famine/doc

From Atlas

Usage[edit]

{{Infobox famine
| famine_name      = <!-----Overrides {{PAGENAME}}, do not use without careful consideration)----->
| famine_name_in_local = <!-----Name of the famine in local language----->
| image_1        = <!-----1st image ----->
| image_title_1  = <!-----Title for 1st image----->
| image_width_1  = <!-----The default image size is 126px or 252px depending on the number of images. You can use this parameter to override the default size.----->
| image_2         = <!-----2nd image----->
| image_title_2   = <!-----Title for 2nd image----->
| image_width_2   = <!-----The default image size is 126px or 252px depending on the number of images. You can use this parameter to override the default size.------>
| country         = <!-----India, China, North Korea, etc.----->
| location        = <!-----state or region within the country, for example, [[Bengal]]----->
| coordinates     = <!-----(use {{coord}})----->
| period          = <!-----Example: 1846-1851----->
| excess_mortality= <!-----Deaths directly due to famine starvation----->
| from_disease    = <!-----Indirect famine deaths from subsequent diseases----->
| total_deaths    = <!-----Total deaths----->
| death_rate      = <!-----Death rate---->
| observations    = <!-----Examples: policy failure, war, drought, potato blight, back-to-back poor harvests, genocide, etc----->
| theory          = <!-----Examples: food availability decline (FAD - conventional), failure of exchange entitlements (FEE - Amartya Sen), Anti-famine contract (De Waal), Malthus, etc----->
| relief          = <!-----Examples: 1 million tons of grain, no relief, etc----->
| food_situation  = <!-----Net food imports, examples: 10 million tons of wheat, can be negative for repressive regimes/genocide cases----->
| demographics    = <!-----Example: population declined by 10% due to mortality or 5% of the people emigrated, etc----->
| consequences    = <!-----Political consequences, example: Indian independence movement intensified due to a lack of relief or allegations of genocide were made, etc----->
| memorial        = <!-----link to the memorial website>
| preceded        = <!-----Preceded by - example: Orissa famine of 1866----->
| succeeded       = <!-----Succeeded by - example: The Great Indian famine of 1876----->
| footnotes       = <!-----Test footnote----->
}}

Coordinates[edit]

Template:UF-coord

Microformat[edit]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[edit]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[edit]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox famine