Difference between revisions of "Template:Infobox agricultural production"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
imported>Wbm1058
 
Line 74: Line 74:
 
|-
 
|-
 
{{#if:{{{plant|}}}|
 
{{#if:{{{plant|}}}|
{{!}} colspan="2" style="text-align:left; border-top: 1px solid #aaa;" {{!}} <small>''Source: <br> UN [[Food & Agriculture Organization]]<br> (FAO)''[http://faostat3.fao.org/home/E]</small>
+
{{!}} colspan="2" style="text-align:left; border-top: 1px solid #aaa;" {{!}} ''Source: UN<br>[[Food and Agriculture Organization|Food & Agriculture Organization]]<br>[http://faostat3.fao.org/home/E (FAO)]''
 
}}
 
}}
 
|-
 
|-
 
{{#if:{{{animal|}}}|
 
{{#if:{{{animal|}}}|
{{!}} colspan="2" style="text-align:left; border-top: 1px solid #aaa;" {{!}} ''Source: <br> UN [[Food & Agriculture Organization]]<br> [http://faostat3.fao.org/home/E (FAO)]''
+
{{!}} colspan="2" style="text-align:left; border-top: 1px solid #aaa;" {{!}} ''Source: UN<br>[[Food and Agriculture Organization|Food & Agriculture Organization]]<br>[http://faostat3.fao.org/home/E (FAO)]''
 
}}
 
}}
 
|-
 
|-

Latest revision as of 04:31, 31 October 2018

Template documentation[view] [edit] [history] [purge]

Usage

Based on FAO statistics. Required parameters are product and year. You can include up to 10 countries. You must use either parameter plant or animal to include the correct units and reference.

Blank template

{{Agricultural production box |year |(plant or animal) |country1 |amount1 etc. |world }}

{{Agricultural production box 
|year= 
|animal=  ''or'' |plant=
|country1= 
|amount1=
|country2= 
|amount2=
|country3= 
|amount3=
|country4= 
|amount4=
|country5= 
|amount5=
|country6= 
|amount6=
|country7= 
|amount7=
|country8= 
|amount8=
|country9= 
|amount9=
|country10= 
|amount10=
|world=
}}