Difference between revisions of "Template:Infobox fishery"
Jump to navigation
Jump to search
imported>Zackmann08 (Invoking InfoboxImage module) |
imported>Frietjes (Adding unknown parameter tracking through Category:Pages using infobox fishery with unknown parameters using Module:check for unknown parameters) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ infobox | {{ infobox | ||
− | | title = {{{name|<includeonly>{{ | + | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
− | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{image|}}}}}}|size={{{imagesize|}}}|alt={{{alt|}}}}} |
− | | caption = {{{ | + | | caption = {{{caption|{{{caption|}}}}}} |
− | | header1 = {{#if:{{{ | + | | header1 = {{#if:{{{coastline|}}}{{{EEZ area|}}}{{{EEZ PP|}}}{{{continental shelf|}}}{{{lake area|}}}{{{river area|}}}{{{land area|}}}{{{MPA area|}}}{{{employment|}}}{{{fishing fleet|}}}{{{landing sites|}}}{{{consumption|}}}{{{fisheries GDP|}}}{{{export value|}}}{{{import value|}}}|General characteristics {{{Header caption|}}}}} |
| label2 = Coastline | | label2 = Coastline | ||
− | | data2 = {{{ | + | | data2 = {{{coastline|}}} |
| label3 = [[Exclusive Economic Zone|EEZ]] area | | label3 = [[Exclusive Economic Zone|EEZ]] area | ||
− | | data3 = {{{ | + | | data3 = {{{EEZ area|}}} |
| label4 = EEZ [[Primary production|PP]] | | label4 = EEZ [[Primary production|PP]] | ||
− | | data4 = {{{ | + | | data4 = {{{EEZ PP|}}} |
| label5 = [[Continental shelf|Shelf]] area | | label5 = [[Continental shelf|Shelf]] area | ||
− | | data5 = {{{ | + | | data5 = {{{continental shelf|}}} |
| label6 = Lake area | | label6 = Lake area | ||
− | | data6 = {{{ | + | | data6 = {{{lake area|}}} |
| label7 = River area | | label7 = River area | ||
− | | data7 = {{{ | + | | data7 = {{{river area|}}} |
| label8 = Land area | | label8 = Land area | ||
− | | data8 = {{{ | + | | data8 = {{{land area|}}} |
| label9 = [[Marine Protected Area|MPA]] area | | label9 = [[Marine Protected Area|MPA]] area | ||
− | | data9 = {{{ | + | | data9 = {{{MPA area|}}} |
| label10 = Employment | | label10 = Employment | ||
− | | data10 = {{{ | + | | data10 = {{{employment|}}} |
| label11 = Fishing fleet | | label11 = Fishing fleet | ||
− | | data11 = {{{ | + | | data11 = {{{fishing fleet|}}} |
| label12 = Landing sites | | label12 = Landing sites | ||
− | | data12 = {{{ | + | | data12 = {{{landing sites|}}} |
| label13 = Consumption | | label13 = Consumption | ||
− | | data13 = {{{ | + | | data13 = {{{consumption|}}} |
| label14 = Fisheries GDP | | label14 = Fisheries GDP | ||
− | | data14 = {{{ | + | | data14 = {{{fisheries GDP|}}} |
| label15 = Export value | | label15 = Export value | ||
− | | data15 = {{{ | + | | data15 = {{{export value|}}} |
| label16 = Import value | | label16 = Import value | ||
− | | data16 = {{{ | + | | data16 = {{{import value|}}} |
− | | header17 = {{#if:{{{ | + | | header17 = {{#if:{{{wild marine|}}}{{{wild inland marine|}}}{{{wild distance marine|}}}{{{wild inland|}}}{{{wild total|}}}{{{aquaculture inland|}}}{{{aquaculture marine|}}}{{{aquaculture total|}}}{{{fish total|}}}{{{wild aquatic plants|}}}{{{aquaculture aquatic plants|}}}{{{aquatic plants total|}}}{{{overall total|}}}|Harvest {{{Header caption|}}}}} |
| label18 = Wild marine | | label18 = Wild marine | ||
− | | data18 = {{{ | + | | data18 = {{{wild marine|}}} |
| label19 = Wild inland marine | | label19 = Wild inland marine | ||
− | | data19 = {{{ | + | | data19 = {{{wild inland marine|}}} |
| label20 = Wild distance marine | | label20 = Wild distance marine | ||
− | | data20 = {{{ | + | | data20 = {{{wild distance marine|}}} |
| label21 = Wild inland | | label21 = Wild inland | ||
− | | data21 = {{{ | + | | data21 = {{{wild inland|}}} |
| label22 = Wild total | | label22 = Wild total | ||
− | | data22 = {{{ | + | | data22 = {{{wild total|}}} |
| label23 = Aquaculture inland | | label23 = Aquaculture inland | ||
− | | data23 = {{{ | + | | data23 = {{{aquaculture inland|}}} |
| label24 = Aquaculture marine | | label24 = Aquaculture marine | ||
− | | data24 = {{{ | + | | data24 = {{{aquaculture marine|}}} |
| label25 = Aquaculture total | | label25 = Aquaculture total | ||
− | | data25 = {{{ | + | | data25 = {{{aquaculture total|}}} |
| label26 = Fish total | | label26 = Fish total | ||
− | | data26 = {{{ | + | | data26 = {{{fish total|}}} |
| label27 = Wild aquatic plants | | label27 = Wild aquatic plants | ||
− | | data27 = {{{ | + | | data27 = {{{wild aquatic plants|}}} |
| label28 = Aquaculture aquatic plants | | label28 = Aquaculture aquatic plants | ||
− | | data28 = {{{ | + | | data28 = {{{aquaculture aquatic plants|}}} |
| label29 = Aquatic plants total | | label29 = Aquatic plants total | ||
− | | data29 = {{{ | + | | data29 = {{{aquatic plants total|}}} |
| label30 = Overall total | | label30 = Overall total | ||
− | | data30 = {{{ | + | | data30 = {{{overall total|}}} |
− | }}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox fishery with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox fishery]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | aquaculture aquatic plants | aquaculture inland | aquaculture marine | aquaculture total | aquatic plants total | caption | coastline | consumption | continental shelf | EEZ area | EEZ PP | employment | export value | fish total | fisheries GDP | fishing fleet | Header caption | image | imagesize | import value | lake area | land area | landing sites | MPA area | name | overall total | river area | wild aquatic plants | wild distance marine | wild inland | wild inland marine | wild marine | wild total }}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude> |
Latest revision as of 15:25, 27 December 2016
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template uses Lua: |
This fishery infobox supports a number of fields relating to fisheries. Select the most appropriate set below and copy and paste the entire code to the top of a fishery article, then fill in as many fields as possible. Empty fields should generally be kept so that a future editor can fill them in unless they make no sense for the fishery in question.
If you have ideas for improvements or would like to add brand new fields to these templates, please post on Template talk:Infobox fishery to discuss the changes and how they should be implemented.
Contents
Code for individual fisheries
For infoboxes of individual fisheries, please copy the appropriate example for the kind of fishery:
Commercial fishery
{{infobox fishery | image = | caption = | Hide header = | Header caption = | coastline = | EEZ area = | EEZ PP = | continental shelf = | lake area = | river area = | land area = | MPA area = | employment = | fishing fleet = | landing sites = | consumption = | fisheries GDP = | export value = | import value = }}
{{infobox fishery | Hide header = | Header caption = | wild marine = | wild inland marine = | wild distance marine = | wild inland = | wild total = | aquaculture inland = | aquaculture marine = | aquaculture total = | fish total = | wild aquatic plants = | aquaculture aquatic plants = | aquatic plants total = | overall total = }}
Recreational fishery
{{infobox fishery | image = | caption = | Hide header = | Header caption = | coastline = | overall total = }}
Tracking category
See also
The above documentation is transcluded from Template:Infobox fishery/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |