Difference between revisions of "Template:Infobox famine/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
({{Convert to use Infobox}})
imported>Vanisaac
m (→‎Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
+
<!-- Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Convert to use Infobox}}
 
 
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 
  
 
== Usage ==
 
== Usage ==
<nowiki>{{Infobox famine
+
{{Parameter names example|name|native_name|image|image_upright|alt|caption|country|location|coordinates|period|excess_mortality|from_disease|total_deaths|death_rate|observations|theory|relief|net_food_imports|demographics|consequences|memorial|preceded|succeeded}}
| famine_name      = <!-----Overrides {{PAGENAME}}, do not use without careful consideration)----->
+
<pre style="overflow: auto;">{{Infobox famine
| famine_name_in_local = <!-----Name of the famine in local language----->
+
| name            = <!-- Name as in article title -->
| image_1        = <!-----1st image ----->
+
| native_name      = <!-- Name of the famine in local language -->
| image_title_1  = <!-----Title for 1st image----->
+
| image           = <!-- Image filename -->
| 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.----->
+
| alt              = <!-- Image [[WP:ALT]] -->
| image_2        = <!-----2nd image----->
+
| caption          = <!-- Image caption -->
| image_title_2  = <!-----Title for 2nd image----->
+
| country         = <!-- India, China, North Korea, etc. -->
| 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.------>
+
| location         = <!-- state or region within the country, for example, [[Bengal]] -->
| country         = <!-----India, China, North Korea, etc.----->
+
| coordinates     = <!-- (use {{coord}}) -->
| location       = <!-----state or region within the country, for example, [[Bengal]]----->
+
| period           = <!-- Example: 1846-1851 -->
| coordinates     = <!-----(use {{coord}})----->
+
| excess_mortality = <!-- Deaths directly due to famine starvation -->
| period         = <!-----Example: 1846-1851----->
+
| from_disease     = <!-- Indirect famine deaths from subsequent diseases -->
| excess_mortality= <!-----Deaths directly due to famine starvation----->
+
| total_deaths     = <!-- Total deaths -->
| from_disease   = <!-----Indirect famine deaths from subsequent diseases----->
+
| death_rate       = <!-- Death rate -->
| total_deaths   = <!-----Total deaths----->
+
| refugees        = <!-- Refugees -->
| death_rate     = <!-----Death rate---->
+
| observations     = <!-- Examples: policy failure, war, drought, potato blight, back-to-back poor harvests, genocide, etc -->
| 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 -->
| 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 -->
| 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 -->
| 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 -->
| 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 -->
| 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 -->
| memorial       = <!-----link to the memorial website>
+
| preceded         = <!-- Preceded by - example: Orissa famine of 1866 -->
| preceded       = <!-----Preceded by - example: Orissa famine of 1866----->
+
| succeeded       = <!-- Succeeded by - example: The Great Indian famine of 1876 -->
| succeeded       = <!-----Succeeded by - example: The Great Indian famine of 1876----->
+
}}</pre>
| footnotes      = <!-----Test footnote----->
 
}}</nowiki>
 
  
 
==Coordinates==
 
==Coordinates==
Line 41: Line 36:
 
{{UF-hcard-geo}}
 
{{UF-hcard-geo}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
<!--Categories below this line, please; interwikis at Wikidata-->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:History and events infobox templates|Famine]]
 
[[Category:History and events infobox templates|Famine]]
  

Latest revision as of 19:13, 25 April 2020

Usage

Template:Parameter names example

{{Infobox famine
| name             = <!-- Name as in article title -->
| native_name      = <!-- Name of the famine in local language -->
| image            = <!-- Image filename  -->
| alt              = <!-- Image [[WP:ALT]] -->
| 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

Template:UF-coord

Microformat

Template:UF-hcard-geo