Difference between revisions of "Template:Infobox agricultural production"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(spelling correction)
imported>Wbm1058
 
(3 intermediate revisions by the same user not shown)
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)]''
 
}}
 
}}
 
|-
 
|-
 
|}<noinclude>
 
|}<noinclude>
 
{{Convert to use Infobox}}
 
{{Convert to use Infobox}}
{{Bad documentation}}
+
{{Documentation}}
 
 
==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 and sawsha.
 
 
 
'''Blank template'''
 
<pre>
 
{{Agricultural production box |year |(plant or animal) |country1 |amount1 etc. |world }}
 
</pre>
 
 
 
[[Category:Food infobox templates|{{PAGENAME}}]]
 
 
 
 
</noinclude>
 
</noinclude>

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=
}}