Template:Infobox famine/doc

From The Global Wiki
< Template:Infobox famine
Revision as of 15:12, 6 November 2022 by en>Waddie96 (add TemplateData)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

Script error: No such module "Parameter names example".

{{Infobox famine
| name             = <!-- Name as in article title -->
| native_name      = <!-- Name of the famine in local language -->
| image            = <!-- Image filename  -->
| image_upright    = 
| thumbtime        = 
| caption          = <!-- Image caption -->
| 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 -->
| refugees         = <!-- Refugees -->
| 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 -->
}}

Coordinates

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

Microformat

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

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

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

Please do not remove instances of these sub-templates.

Classes

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

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


No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name, by default the article's title

Auto value
Stringsuggested
famine_namefamine_name

no description

Unknownoptional
Native namenative_name

Name of the famine in local language, use {{lang}}

Unknownsuggested
famine_name_in_localfamine_name_in_local

no description

Unknownoptional
Imageimage

Image filename

Unknownsuggested
image_nameimage_name

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
ImagesizeImagesize

no description

Unknownoptional
image_uprightimage_upright

no description

Unknownoptional
thumbtimethumbtime

no description

Unknownoptional
Thumb_TimeThumb_Time

no description

Unknownoptional
altalt

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
Image captioncaption

no description

Unknownsuggested
image_title_1image_title_1

no description

Unknownoptional
countrycountry

Country

Example
Country where famine occurred, do not use {{flag}} per [[MOS:FLAG]]
Unknownsuggested
Locationlocation

State, region or area in which famine occurred

Unknownsuggested
Coordinatescoordinates

For coordinates, use {{coord}} with |display=inline,title. Please do not be overly precise. Do not use the |name= parameter

Unknownsuggested
Periodperiod

The period during which the famine occurred, if it is still ongoing use {{start date}}

Example
1846–1851
Datesuggested
Excess moralityexcess_mortality

Deaths directly due to famine and starvation, source required

Unknownsuggested
Deaths from diseasefrom_disease

Indirect deaths caused by famine causing subsequent diseases, source required

Unknownsuggested
Total deathstotal_deaths

no description

Unknownsuggested
Death ratedeath_rate

no description

Unknownsuggested
Refugeesrefugees

Number of people displaced due to famine

Unknownsuggested
Observationsobservations

Examples: policy failure, war, drought, potato blight, back-to-back poor harvests, genocide, etc

Unknownsuggested
Theorytheory

Examples: food availability decline (FAD - conventional), failure of exchange entitlements (FEE - Amartya Sen), Anti-famine contract (De Waal), Malthus, etc

Unknownsuggested
Reliefrelief

Relief donated/given, how much and by whom

Example
1 million tons of grain from USAID
Unknownsuggested
Net food importsnet_food_imports

no description

Unknownsuggested
Demographicsdemographics

Example: population declined by 10% due to mortality or 5% of the people emigrated

Unknownsuggested
Consequencesconsequences

Political consequences

Example
Indian independence movement intensified
Unknownsuggested
Memorialmemorial

Ideally, link to memorial website using {{url}}

Unknownsuggested
Precededpreceded

no description

Unknownsuggested
Succeededsucceeded

no description

Unknownsuggested