Template:Infobox agriculture: Difference between revisions
Jump to navigation
Jump to search
RobbyTheSeal (talk | contribs) (Created page with "{{infobox | headerstyle = backgroundcolor:lightblue | abovestyle = backgroundcolor:lightblue | above = Agriculture in {{country|}} | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|300px}}}}}}}} | caption = {{{caption|}}} | label1 = Agricultural land area{{#if:{{land_percentage|}}|<br>(% of land area)}} | data1 = {{agricultural_land|}}{{#if:{{land_percentage|}}|<br>({{land_percentage|}}% of total are...") Tag: 2017 source edit |
RobbyTheSeal (talk | contribs) No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| abovestyle = backgroundcolor:lightblue | | abovestyle = backgroundcolor:lightblue | ||
| above = Agriculture in {{country|}} | | above = Agriculture in {{country|}} | ||
Line 6: | Line 5: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| label1 = [[w:Agricultural land|Agricultural land area]]{{#if:{{land_percentage|}}|<br>(% of land area)}} | | label1 = [[w:Agricultural land|Agricultural land area]]{{#if:{{land_percentage|}}|<br>(% of land area)}} | ||
| data1 = {{agricultural_land|}}{{#if:{{land_percentage|}}|<br>({{land_percentage|}}% of total area)}} | | data1 = {{{agricultural_land|}}}{{#if:{{{land_percentage|}}}|<br>({{{land_percentage|}}}% of total area)}} | ||
| label2 = Rural population | | label2 = Rural population | ||
| data2 = {{rural_pop|}} | | data2 = {{{rural_pop|}}} | ||
| label3 = Primary agricultural products | | label3 = Primary agricultural products | ||
| data3 = {{main_products|}} | | data3 = {{{main_products|}}} | ||
| header1 = {{#if:{{production_grain|}}{{production_citrus|}}{{production_noncitrus|}}{{production_vegetables|}}{{production_other|}}| Total production | | header1 = {{#if:{{{production_grain|}}}{{{production_citrus|}}}{{{production_noncitrus|}}}{{{production_vegetables|}}}{{{production_other|}}}| Total production}} | ||
| label4 = Grains, oil, & fibers | | label4 = Grains, oil, & fibers | ||
| data4 = {{production_grain|}} | | data4 = {{{production_grain|}}} | ||
| label5 = Vegetables | | label5 = Vegetables | ||
| data5 = {{production_vegetables|}} | | data5 = {{{production_vegetables|}}} | ||
| label6 = Noncitrus fruit & nuts | | label6 = Noncitrus fruit & nuts | ||
| data6 = {{production_noncitrus|}} | | data6 = {{{production_noncitrus|}}} | ||
| label7 = Citrus fruit | | label7 = Citrus fruit | ||
| data7 = {{production_citrus|}} | | data7 = {{{production_citrus|}}} | ||
| label8 = Other | | label8 = Other | ||
| data8 = {{production_other|}} | | data8 = {{{production_other|}}} | ||
| header2 = {{#if:{{product1|}}{{product2|}}{{product3|}}{{product4|}}{{product5|}}{{product6|}}{{product7|}}{{product8|}}{{product9|}}{{product10|}}|Main agricultural products}} | | header2 = {{#if:{{{product1|}}}{{{product2|}}}{{{product3|}}}{{{product4|}}}{{{product5|}}}{{{product6|}}}{{{product7|}}}{{{product8|}}}{{{product9|}}}{{{product10|}}}|Main agricultural products}} | ||
| label9 = {{product1_name|}} | | label9 = {{{product1_name|}}} | ||
| data9 = {{product1|}} | | data9 = {{{product1|}}} | ||
| label10 = {{product2_name|}} | | label10 = {{{product2_name|}}} | ||
| data10 = {{product2|}} | | data10 = {{{product2|}}} | ||
| label11 = {{product3_name|}} | | label11 = {{{product3_name|}}} | ||
| data11 = {{product3|}} | | data11 = {{{product3|}}} | ||
| label12 = {{product4_name|}} | | label12 = {{{product4_name|}}} | ||
| data12 = {{product4|}} | | data12 = {{{product4|}}} | ||
| label13 = {{product5_name|}} | | label13 = {{{product5_name|}}} | ||
| data13 = {{product5|}} | | data13 = {{{product5|}}} | ||
| label14 = {{product6_name|}} | | label14 = {{{product6_name|}}} | ||
| data14 = {{product6|}} | | data14 = {{{product6|}}} | ||
| label15 = {{product7_name|}} | | label15 = {{{product7_name|}}} | ||
| data15 = {{product7|}} | | data15 = {{{product7|}}} | ||
| label16 = {{product8_name|}} | | label16 = {{{product8_name|}}} | ||
| data16 = {{product8|}} | | data16 = {{{product8|}}} | ||
| label17 = {{product9_name|}} | | label17 = {{{product9_name|}}} | ||
| data17 = {{product9|}} | | data17 = {{{product9|}}} | ||
| label18 = {{product10_name|}} | | label18 = {{{product10_name|}}} | ||
| data18 = {{product10|}} | | data18 = {{{product10|}}} | ||
| header3 = {{#if:{{crop_value|}}{{GDP_contribution|}}|Economic participation}} | | header3 = {{#if:{{{crop_value|}}}{{{GDP_contribution|}}}|Economic participation}} | ||
| label19 = Crop value | | label19 = Crop value | ||
| data19 = {{crop_value|}} | | data19 = {{{crop_value|}}} | ||
| label20 = Contribution to GDP | | label20 = Contribution to GDP | ||
| data20 = {{GDP_contribution|}} | | data20 = {{{GDP_contribution|}}} | ||
}}<noinclude>{{documentation}}</noinclude> | }}<noinclude>{{documentation}}</noinclude> |
Revision as of 07:05, 8 November 2024
Agriculture in Template:Country |
---|
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