Template:Infobox agriculture: Difference between revisions
Jump to navigation
Jump to search
RobbyTheSeal (talk | contribs) mNo edit summary Tag: 2017 source edit |
RobbyTheSeal (talk | contribs) mNo edit summary Tag: 2017 source edit |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Infobox | ||
| | | bodyclass = geography vcard | ||
| | | bodystyle = font-size:88%; | ||
| autoheaders = y | |||
| headerstyle = text-align:center;background-color:#add8e6; | |||
| abovestyle = text-align:center;background-color:#add8e6; | |||
| labelstyle = font-weight:bold; | |||
| above = {{#if:{{{country|}}}|Agriculture in {{{country|}}}}} | | above = {{#if:{{{country|}}}|Agriculture in {{{country|}}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|300px}}}}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|300px}}}}}}}} | ||
Line 11: | Line 16: | ||
| label3 = Primary agricultural products | | label3 = Primary agricultural products | ||
| data3 = {{{main_products|}}} | | data3 = {{{main_products|}}} | ||
| | | header4 = {{#if:{{{production_grain|}}}{{{production_citrus|}}}{{{production_noncitrus|}}}{{{production_vegetables|}}}{{{production_other|}}}| Total production}} | ||
| | | label5 = Grains, oil, & fibers | ||
| | | data5 = {{{production_grain|}}} | ||
| | | label6 = Vegetables | ||
| | | data6 = {{{production_vegetables|}}} | ||
| | | label7 = Noncitrus fruit & nuts | ||
| | | data7 = {{{production_noncitrus|}}} | ||
| | | label8 = Citrus fruit | ||
| | | data8 = {{{production_citrus|}}} | ||
| | | label9 = Other | ||
| | | data9 = {{{production_other|}}} | ||
| | | header10 = {{#if:{{{product1|}}}{{{product2|}}}{{{product3|}}}{{{product4|}}}{{{product5|}}}{{{product6|}}}{{{product7|}}}{{{product8|}}}{{{product9|}}}{{{product10|}}}|Main agricultural products}} | ||
| | | label11 = {{{product1_name|}}} | ||
| | | data11 = {{{product1|}}} | ||
| | | label12 = {{{product2_name|}}} | ||
| | | data12 = {{{product2|}}} | ||
| | | label13 = {{{product3_name|}}} | ||
| | | data13 = {{{product3|}}} | ||
| | | label14 = {{{product4_name|}}} | ||
| | | data14 = {{{product4|}}} | ||
| | | label15 = {{{product5_name|}}} | ||
| | | data15 = {{{product5|}}} | ||
| | | label16 = {{{product6_name|}}} | ||
| | | data16 = {{{product6|}}} | ||
| | | label17 = {{{product7_name|}}} | ||
| | | data17 = {{{product7|}}} | ||
| | | label18 = {{{product8_name|}}} | ||
| | | data18 = {{{product8|}}} | ||
| | | label19 = {{{product9_name|}}} | ||
| | | data19 = {{{product9|}}} | ||
| | | label20 = {{{product10_name|}}} | ||
| | | data20 = {{{product10|}}} | ||
| | | header21 = {{#if:{{{crop_value|}}}{{{GDP_contribution|}}}|Economic participation}} | ||
| | | label22 = Crop value | ||
| | | data22 = {{{crop_value|}}} | ||
| | | label23 = Contribution to GDP | ||
| | | data23 = {{{GDP_contribution|}}} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 18:59, 8 November 2024
Usage
An infobox to be used in “Agriculture in X” pages, e.g. Agriculture in Pelinai (Pacifica). Use is as follows:
- country = Country name
- image = image for top of infobox
- image_size = image size
- caption = image caption
- agricultural_land = land used for agriculture in acres or hectares, followed by year
- land_percentage = percentage of total national land area used for agriculture
- rural_pop = percentage of population living in rural areas, followed by year
- main_products = primary agricultural products; list using commas without a list template
- production_grain = total production mass for grains, oil crops, and fiber crops, followed by year
- production_vegetables = total production mass for vegetables, followed by year
- production_noncitrus = total production mass for noncitrus fruits and nuts, followed by year
- production_citrus = total production mass for citrus fruits, followed by year
- production_other = total production for other crops, e.g. flowers and biomass crops, followed by year
- product1_name = name of important agricultural product #1
- product1 = production mass of important agricultural product #1, followed by year
- …
- product10_name = name of important agricultural product #10
- product10 = production mass of important agricultural product #10, followed by year
- crop_value = total value of all crops produced, followed by year
- GDP_contribution = percentage of GDP composed of agriculture, followed by year