Difference between revisions of "Template:Infobox agricultural production"

From blackwiki
Jump to navigation Jump to search
imported>Ivan trus
m (Link update)
imported>Brandmeister
m
Line 6: Line 6:
 
|-
 
|-
 
{{#if:{{{plant|}}}|
 
{{#if:{{{plant|}}}|
{{!}} colspan="2" style="text-align: center; background: #dcdcdc;" {{!}} '''Top {{{plant|}}} Producers'''<br> in ''{{{year|}}}''
+
{{!}} colspan="2" style="text-align: center; background: #dcdcdc;" {{!}} '''Top {{{plant|}}} producers'''<br> in ''{{{year|}}}''
 
}}
 
}}
 
|-
 
|-
Line 69: Line 69:
 
|-
 
|-
 
{{#if:{{{world|}}}|
 
{{#if:{{{world|}}}|
{{!}} style="text-align:left; border-top: 1px solid #aaa;" {{!}} '''World Total'''
+
{{!}} style="text-align:left; border-top: 1px solid #aaa;" {{!}} '''World total'''
 
{{!}} style="text-align:right; border-top: 1px solid #aaa;" {{!}} '''{{{world}}}'''
 
{{!}} style="text-align:right; border-top: 1px solid #aaa;" {{!}} '''{{{world}}}'''
 
}}
 
}}

Revision as of 20:14, 22 June 2015

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

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