Template:Infobox famine/doc: Difference between revisions
(changed "observations" to "causes," since this is less vague and falls more in line with what the examples describe) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:57, 15 February 2024
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
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}}} |
Causes | {{{causes}}} |
Theory | {{{theory}}} |
Relief | {{{relief}}} |
Net food imports | {{{net_food_imports}}} |
Effect on demographics | {{{demographics}}} |
Consequences | {{{consequences}}} |
Website | {{{memorial}}} |
Preceded by | {{{preceded}}} |
Succeeded by | {{{succeeded}}} |
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Infobox famine/doc |
---|
</syntaxhighlight>
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 |
Causes | causes | 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 |