Template:Infobox famine/doc: Difference between revisions
From WWII Archives
w>Waddie96 (add TemplateData) |
Paul Sidle (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 19:44, 19 March 2023
File:Lua-Logo.svg | This template uses Lua: |
Usage
{{{name}}} {{{native_name}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Country | {{{country}}} |
Location | {{{location}}} |
Coordinates | {{{coordinates}}} |
Period | {{{period}}} |
Excess mortality | {{{excess_mortality}}} |
Deaths from disease | {{{from_disease}}} |
Total deaths | {{{total_deaths}}} |
Death rate | {{{death_rate}}} |
Observations | {{{observations}}} |
Theory | {{{theory}}} |
Relief | {{{relief}}} |
Net food imports | {{{net_food_imports}}} |
Effect on demographics | {{{demographics}}} |
Consequences | {{{consequences}}} |
Website | {{{memorial}}} |
Preceded by | {{{preceded}}} |
Succeeded by | {{{succeeded}}} |
{{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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name, by default the article's title
| String | suggested |
famine_name | famine_name | no description | Unknown | optional |
Native name | native_name | Name of the famine in local language, use {{lang}} | Unknown | suggested |
famine_name_in_local | famine_name_in_local | no description | Unknown | optional |
Image | image | Image filename | Unknown | suggested |
image_name | image_name | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
Imagesize | Imagesize | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
thumbtime | thumbtime | no description | Unknown | optional |
Thumb_Time | Thumb_Time | no description | Unknown | optional |
alt | alt | no description | Unknown | optional |
image_alt | image_alt | no description | Unknown | optional |
Image caption | caption | no description | Unknown | suggested |
image_title_1 | image_title_1 | no description | Unknown | optional |
country | country | Country
| Unknown | suggested |
Location | location | State, region or area in which famine occurred | Unknown | suggested |
Coordinates | coordinates | For coordinates, use {{coord}} with |display=inline,title. Please do not be overly precise. Do not use the |name= parameter | Unknown | suggested |
Period | period | The period during which the famine occurred, if it is still ongoing use {{start date}}
| Date | suggested |
Excess morality | excess_mortality | Deaths directly due to famine and starvation, source required | Unknown | suggested |
Deaths from disease | from_disease | Indirect deaths caused by famine causing subsequent diseases, source required | Unknown | suggested |
Total deaths | total_deaths | no description | Unknown | suggested |
Death rate | death_rate | no description | Unknown | suggested |
Refugees | refugees | Number of people displaced due to famine | Unknown | suggested |
Observations | observations | Examples: policy failure, war, drought, potato blight, back-to-back poor harvests, genocide, etc | Unknown | suggested |
Theory | theory | Examples: food availability decline (FAD - conventional), failure of exchange entitlements (FEE - Amartya Sen), Anti-famine contract (De Waal), Malthus, etc | Unknown | suggested |
Relief | relief | Relief donated/given, how much and by whom
| Unknown | suggested |
Net food imports | net_food_imports | no description | Unknown | suggested |
Demographics | demographics | Example: population declined by 10% due to mortality or 5% of the people emigrated | Unknown | suggested |
Consequences | consequences | Political consequences
| Unknown | suggested |
Memorial | memorial | Ideally, link to memorial website using {{url}} | Unknown | suggested |
Preceded | preceded | no description | Unknown | suggested |
Succeeded | succeeded | no description | Unknown | suggested |